Transaction-owned, non-blocking application lock (03 §7 "one sweeper at a time"). rows SweepLockRow (1).
Cancels an in-flight delivery (03 §7, F2): stamps CancelRequestedAt. The lease token is left unchanged.
Sweeper-wide expiry in bounded batches; rows ExpiredDeadLetterRow as ConsumeSqlBuilder.ExpireLeases.
batchSize defaults to EXPIRE_LEASES_BATCH: plan 06's sweeper calls it with no argument.
OptionalbatchSize: numberrows DeadLetterRow, keyset-paged by delivery ID.
rows PartitionRow, keyset-paged by partition key; condition null = every non-Idle key.
Database prerequisite check (03 §6): READ_COMMITTED_SNAPSHOT on SQL Server. rows IsolationRow (1).
Calls used by the operator, the sweeper and topology validation.