AggregateIds
The one rule of which aggregate ids no route or store keeps as they were given, so that every path an id enters by (admission of a caller's or a peer's request, the intake, a saga's derived and a timer's commands, an id a generator gives, the test DSL) and migrate-data, which reports the 9.x aggregates that have one before the cut-over, never disagree about an id. An aggregate exists only with an id each of its by-id routes reaches, behind the gateway in front of the service too (#6594).
Properties
The most bytes in UTF-8 of an aggregate id admission takes (AggregateIdLimits.MAX_BYTES).
The longest aggregate id admission takes, in UTF-16 units (AggregateIdLimits.MAX_LENGTH).
Functions
Why id, the name of a request, is too long; checked one by one, without a list of pairs per command.
Why admission refuses a request's ids as malformed (wow.command.malformed) before any store sees them, or null when it takes them: its requestId, tenantId, and the owner and space of scope, longer than MAX_LENGTH characters, its aggregateId refused (null before one is known), and the owner or space body transfers the aggregate to (oversizedBody) when given. The one check of the gateway, of a peer's admission and of the test DSL.
Why the owner or space body transfers the aggregate to is too long, or null when it transfers none or fits.
Why admission refuses id as an aggregate id, as text, or null when it takes it: longer than MAX_LENGTH UTF-16 units, or unaddressable. A blank id is refused where it is read.
Why id, an aggregate id, is one admission refuses whatever its length in UTF-16 units, as text, or null when it is not: