STORE DOCS / DIAGRAMS
When a canonical alias becomes active
When a canonical alias becomes active
MutationStore persists an ACKED receipt and PENDING alias before adopting the echo, finishes declared invalidation effects, then retires the intent and activates the alias before the existing stream changes delegate.
mutate(
provisionalKey,
createRef, args)
push(provisional
identity)
PresentAck(
canonicalKey)
transaction:
ACKED receipt +
PENDING alias
adopt authoritative
echo
finish declared
invalidation effects
transaction:
retire intent +
alias ACTIVE
existing stream
collection swaps to
canonical delegate
App
MutationStore
MutationServer
Durable journal
Call / local work
Acknowledgement / return
The alias becomes ACTIVE during retirement finalization, after declared invalidation effects finish. The app keeps the same stream collection.