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:020}.json. Chitchat carries the ephemeral copy; these files survive full-cluster restart.

Rotation and drain finalization use PutMode::Create on separate per-version paths. The append-only winner works on every backend, including LocalFileSystem, without relying on conditional overwrite support.

Structs§

AssignmentSnapshot
Durable vnode-to-instance assignment snapshot.
AssignmentSnapshotRef
Exact immutable reference to a staged failure-recovery successor.
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.