Expand description
The steps of open_stores_and_migrate that attach the
registries and open each store, one function each, in the order they ran. Moved out of that
function without a change in behaviour.
FunctionsΒ§
- adopt_
earlier_ πauth - Carries what earlier per-channel builds kept to themselves into the shared store.
- ask_
for_ πthe_ rewrite_ if_ wanted - A store that is not incremental keeps the pages compression frees: ask for the one-time rewrite, which runs at the next start with no other srv running (reclaim spec Β§4).
- attach_
agent_ πregistry - Attaches the cross-version named-agent registry, and the catch-up pass over its records.
- attach_
definition_ πstore - Attaches the global agent-definition store and returns the ids of the active user agents, for the transcript backfill.
- attach_
global_ πmemory - Attaches Global Memoryβs record and heals the global transcript snapshots; returns the recorder.
- attach_
token_ πindex_ and_ wan_ identity - Attaches the agent token index and the channel-wide WAN identity store.
- open_
filestore π - Opens this channelβs file store.
- open_
global_ πtranscripts - Opens the global transcript store;
Nonefalls back to the per-channel store. - open_
identity_ πstore - Opens the permanently-global identity store; falls back to the per-channel store.
- open_
saga_ πlog - Opens the saga log and reads the saga id to seed the allocator from.
- open_
shared_ πstore - Opens the global shared store;
Nonewhen it cannot be resolved or opened. - pick_
id_ πstore - Chooses where identity, memory, drone and muxbus operations go.
- reconcile_
registries π - Reconciles the two host-global registries against each other.