Skip to content

v0.1.0-alpha.45: Persist configuration snapshot metadata for offline recovery

Pre-release
Pre-release

Choose a tag to compare

@mrayva mrayva released this 14 Nov 21:20
0fea03f

MiniRaft v0.1.0-alpha.45 lets bound in-memory and durable stores preserve stable and joint configuration snapshot metadata across restarts for offline history validation. The snapshot voter list must match the store's existing voter binding, and joint-history scans verify the baseline's old voter set against that binding.

Raft still rejects these metadata snapshots at startup and over the network. Configuration log entries, live voter changes, and compaction across a membership transition remain disabled. This milestone preserves configuration history; it does not activate a recovered configuration.

Validation: Release and ASAN network-enabled CTest passed 21/21 each. Hosted build, Debug, Release, sanitizer, and unit-test checks passed. Tests cover stable and joint durable round-trips, unbound recovery rejection, voter-binding mismatch without storage rewrite, offline scan checks, and continued runtime rejection.

Self-review completed. No independent reviewer approval is claimed.