Skip to content

Comments

Add an implementation of the Raft consensus protocol#223

Open
JoshHuttonCode wants to merge 62 commits intoapache:masterfrom
hammerface:raft
Open

Add an implementation of the Raft consensus protocol#223
JoshHuttonCode wants to merge 62 commits intoapache:masterfrom
hammerface:raft

Conversation

@JoshHuttonCode
Copy link

@JoshHuttonCode JoshHuttonCode commented Jan 6, 2026

Our team's Fall 2025 Class project that @hammerface and I would like to continue to work on.

Still to do:
We still plan to implement persistent state and snapshots. This will be handled by integrating the current Checkpointing and Recovery systems.

Additionally, we may like to reorganize some of the Raft functions. Split them up into smaller functions, extract common code if possible. We are also considering redoing the leader election manager, specifically with regards to how the multithreading is handled.

hammerface and others added 30 commits November 4, 2025 19:35
fixed a race condition in deploy_local.sh
Also updated ReceiveTransaction
Also updated ReceiveAppendEntries
hammerface and others added 24 commits December 5, 2025 06:31
Heartbeat is skipped if leader recently broadcasted AppendEntries
Added logic for followers to truncate their log when leader sends conflicting entries
changed variable names for semanatic value
removed one line conditionals for readability
@msadoghi msadoghi added this to the Release v1.13.0 Planning milestone Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants