Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Durable vnode→instance assignment snapshots. One object per version at control/assignment-snapshots/v{N:016}.json. Chitchat carries the ephemeral copy; these files survive full-cluster restart.

Rotation uses PutMode::Create on a per-version path so the CAS works on every backend (LocalFileSystem included, which doesn’t yet implement PutMode::Update).

Structs§

AssignmentSnapshot
Durable vnode-to-instance assignment snapshot.
AssignmentSnapshotStore
I/O wrapper for AssignmentSnapshot on an object store.

Enums§

RotateOutcome
Outcome of AssignmentSnapshotStore::save_if_version.
SnapshotError
Errors loading or saving an AssignmentSnapshot.