Skip to content

Fast accepted messages - #166

Open
Mar-i-cel wants to merge 17 commits into
haraldng:masterfrom
RasmusSjo:FastAccepted-messages
Open

Fast accepted messages#166
Mar-i-cel wants to merge 17 commits into
haraldng:masterfrom
RasmusSjo:FastAccepted-messages

Conversation

@Mar-i-cel

Copy link
Copy Markdown

Added unsynced_log: HashMap<usize, T> field to SequencePaxos struct.
Please check if this conflicts with any other changes before merging.

Note on handle_dom_release placement
The algorithm PDF suggests handle_dom_release should live in follower.rs, however
since both leaders AND followers have a DOM-R component, the function needs to handle
both roles. For this reason it was placed in mod.rs where it can branch on the current
role — leaders call accept_entry_leader() while followers append to unsynced_log
and send FastAccepted to the leader.
If it's wrong, I'll change it

@agridrama
agridrama deleted the FastAccepted-messages branch March 12, 2026 16:25
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.

4 participants