Repository navigation
Releases
v0.1.0-alpha.68
Allows local compaction after a committed stable voter transition. The snapshot records the active voter set and stable configuration identity while retaining the original durable voter binding; restart recovers the active set from that checkpoint. Compaction remains rejected while a joint configuration is committed or any configuration change is uncommitted. Validation: release suite 14/14, ASAN network suite 21/21, hosted Debug/Release/sanitizer/build/unit checks passed. Joint snapshots and network snapshot transfer across membership transitions remain unsupported. Snapshot configuration metadata is trusted checkpoint state, not cryptographic proof; use only locally validated compaction or independently verified snapshots.
v0.1.0-alpha.67
Reconciles TRaftServer response readers as peers become voters, including live learner promotion through joint consensus. Prevents duplicate reader startup and rejects removing a peer transport target while its reader is active. Validation: release tests 14/14, ASAN network tests 21/21, hosted Debug/Release/sanitizer checks passed. Limitation: response readers cannot be cancelled during socket I/O, so demoted peers remain registered as learner targets until server restart; leader transfer and membership-aware snapshot installation remain open.
miniraft-cpp v0.1.0-alpha.66
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.
miniraft-cpp v0.1.0-alpha.65
Recovers active voter configuration from a validated retained history and applies the corresponding stable or joint quorum to elections, commits, and strong reads.
- Joint quorum remains active until the stable successor commits.
- Startup requires a trusted original voter binding, a durable commit boundary for retained transitions, and endpoints for all active voters.
- Compaction remains blocked across retained membership changes until configuration-aware snapshots are supported.
This release does not enable local configuration proposals or incoming configuration entries. Joint snapshot recovery and snapshot transfer across membership changes remain unsupported.
Validation passed locally and in hosted Debug, Release, ASan/UBSan, and C/C++ CI workflows. Self-reviewed; no independent reviewer approval is claimed.
miniraft-cpp v0.1.0-alpha.64
Makes committed Raft configuration records safe to replay across the application progress boundary.
- Validate the configuration record during committed replay.
- Advance the applied log index without handing configuration metadata to the application state machine.
- Add deterministic coverage proving application writes are not invoked for the control entry.
This does not activate configuration entries: startup, proposals, and AppendEntries still reject them. Joint quorum activation and membership-aware snapshot recovery remain unsupported.
Validation passed locally and in hosted Debug, Release, ASan/UBSan, and C/C++ CI workflows. Self-reviewed; no independent reviewer approval is claimed.
miniraft-cpp v0.1.0-alpha.63
Strengthens configuration-history validation before live joint consensus is enabled.
- Reject a configuration transition whose preceding configuration record lies beyond the trusted commit boundary.
- Keep the valid case where a joint configuration is committed and its stable successor is pending.
- Reject a new joint transition until the preceding stable successor commits.
- Add deterministic coverage for both transition phases.
This is an offline history-validation improvement. Live membership activation, joint quorum changes, and membership-aware snapshot installation remain disabled.
Validation passed locally and in hosted Debug, Release, ASan/UBSan, and C/C++ CI workflows. Self-reviewed; no independent reviewer approval is claimed.
miniraft-cpp v0.1.0-alpha.62
Adds an explicit leader-side commit acknowledgment status for staged learners.
- Track each AppendEntries request's LeaderCommit boundary and count it only after a correlated successful reply.
- Count completed snapshot installation as acknowledgment through the installed snapshot index.
- Add IsLearnerCommitAcknowledged, distinct from the log-only IsLearnerCaughtUp query.
- Add deterministic partition coverage for delayed commit propagation and snapshot catch-up.
The new API does not report application-applied progress or authorize promotion. Dynamic voting membership changes and joint consensus remain unsupported.
Validation passed locally and in hosted Debug, Release, ASan/UBSan, and C/C++ CI workflows. Self-reviewed; no independent reviewer approval is claimed.
MiniRaft-CPP v0.1.0-alpha.61
Changes
- Add deterministic coverage for an unsupported joint snapshot beyond the receiver's commit boundary.
- Verify incomplete supported magic prefixes and completed unsupported headers do not demote a candidate or refresh its election deadline on the full-install path.
This release is a regression-test follow-up to alpha.60 and does not change runtime code, wire layout or storage format.
Validation
- Local ASan/UBSan
test_compaction: passed. - Local Release
test_compaction: passed. - Hosted build, Debug, Release, sanitizer, and unit-test checks passed on PR #61.
Live voter membership changes and joint snapshot installation remain disabled. No independent reviewer approval is claimed.
MiniRaft-CPP v0.1.0-alpha.60
Changes
- Validate the complete bounded metadata prefix before a same-term InstallSnapshot can demote a candidate or refresh its election timer.
- Keep partial snapshot headers resumable without treating them as leader contact.
- Reject unsupported formats and conflicting metadata without changing role or election state.
Validation
- Local ASan/UBSan network-enabled CTest: 21/21 passed.
- Local Release network-enabled CTest: 21/21 passed.
- Hosted build, Debug, Release, sanitizer, and unit-test checks passed on PR #60.
No wire or storage format changed. Live voter membership changes and joint snapshot installation remain disabled. The change was self-reviewed; no independent reviewer approval is claimed.
v0.1.0-alpha.59: configuration snapshot continuity
Changes
- Enforce configuration snapshot continuity across the stable → joint → stable phases.
- Reject same-identity stable snapshots with different active voters, legacy refreshes that restore stale voters, and snapshots that skip or erase a known transition phase.
- Require successor configuration entries to occur after the previous snapshot boundary without log-term regression.
- Add deterministic in-memory and durable tests, including restart with the original voter binding preserved.
This validates continuity with locally stored metadata. It does not prove that configuration changes were committed or authenticate incoming history. Live membership changes and joint snapshot network installation remain disabled.
Validation
- ASan/UBSan network-enabled CTest: 21/21 passed.
- Release network-enabled CTest: 21/21 passed.
- Hosted build, Debug, Release, sanitizer, and unit-test checks passed for PR #59.
Self-reviewed; no independent reviewer approval is claimed.