Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement raft log #5

Merged
merged 8 commits into from
Jul 15, 2024
Merged

feat: implement raft log #5

merged 8 commits into from
Jul 15, 2024

Conversation

ASjet
Copy link
Owner

@ASjet ASjet commented Jul 15, 2024

  • Add graceful shutdown to raft service.
  • tick timer and append_command event will all trigger Leader send AppendEntries to peers.
  • append_command won't return until this command is replicated in majority peers.
  • Use mpsc::channel to send committed log to application layer.
  • New Integral test for fail over.
  • New Integral test for log replication and commit.

@ASjet ASjet merged commit c34b012 into main Jul 15, 2024
1 check passed
@ASjet ASjet deleted the raft/log branch July 15, 2024 16:02
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.

1 participant