Skip to main content

Module store_attach

Module store_attach 

Source
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; None falls 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; None when 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.