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

Provide formal specification and verification using TLA+ for Raft #539

Closed
wants to merge 2 commits into from

Conversation

wego1236
Copy link
Contributor

We've made a formal specification for Raft in paper "In Search of an Understandable Consensus Algorithm" and a certain scale of model checking to verify the correctness of raft-rs(currently still running). There may exist differences between our specification and Raft in paper or in implementation. Please let us know flaws of specification if you have any question.

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your great job!

We have a dedicated repo for TLA+ spec, and there is already one spec for Raft https://github.com/pingcap/tla-plus/blob/master/Raft/Raft.tla, though just for Raft consensus algorithm itself.

I think your work would be a great complement for that. How about moving this to that repo and adding a link in raft-rs?

@wego1236
Copy link
Contributor Author

Okay, I'll go now.

@wego1236 wego1236 closed this Mar 23, 2024
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.

2 participants