Skip to content

miniraft-cpp v0.1.0-alpha.66

Pre-release
Pre-release

Choose a tag to compare

@mrayva mrayva released this 15 Nov 15:43
· 608 commits to master since this release
64e6543

Adds guarded live voter changes through joint consensus on TRaft when using storage with a persisted commit index and original voter binding.

  • Adds ProposeJointConfiguration and FinalizeConfiguration for voter addition and nonleader removal.
  • Requires current-term commitment and correlated committed catch-up acknowledgements for added learners.
  • Validates incoming configuration entries and candidate suffix replacements before persisting a higher term; applies quorum and role changes as each configuration commits.
  • Recovers committed voter roles from retained configuration history after restart.

The current leader must remain in the new voter set. Hot TRaftServer role reconciliation and membership-aware compaction/snapshot transfer remain unsupported. All nodes need endpoints for active voters, and restart configuration must preserve the original voter binding.

Validation passed locally and in hosted core Debug/Release, ASan/UBSan, and C/C++ CI. Self-reviewed; no independent reviewer approval is claimed.