parkedId

fun parkedId(service: String, context: String, subscription: String, ref: AggregateRef): String

The id of the ops aggregate recording the entry of ref that subscription, of context, parked in service: PARKED_ID_PREFIX and the first 128 bits of the SHA-256 of <service>:<context>:<subscription>:<aggregate context>.<aggregate>:<tenant>:<id>, in 32 lowercase hexadecimal digits, so one service's entry of one aggregate is one ops aggregate, whichever node publishes it, and two contexts' subscriptions of one name keep entries of their own. Its length is 33 whatever the tenant and the id (#6626): the id of an aggregate that may exist, and a tenant the rules allow, always make an ops aggregate id that may exist too, and a path that carries it stays short. The entry's fields are in the entry, not in its id.

Each field has its % and : percent-escaped (%25, %3A, Escapes), and the aggregate type's context its . too (Escapes.typeText), before they are joined and hashed, so two entries never share the text hashed however their names join: tenant a:b with id c and tenant a with id b:c stay apart, as do context a.b's aggregate c and context a's b.c. The ops context checks that a recorded entry's fields hash to the id it is recorded under.