Repository navigation
miniraft-cpp v0.1.0-alpha.66
Pre-release
Pre-release
·
608 commits
to master
since this release
Adds guarded live voter changes through joint consensus on TRaft when using storage with a persisted commit index and original voter binding.
- Adds
ProposeJointConfigurationandFinalizeConfigurationfor 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.