-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add coordinator durability #2029
base: master
Are you sure you want to change the base?
Conversation
I was reading something about Raft @antoniofilipovic. We should make logs, votedFor and logTerm durable. On every change of this property, you should persist these things to disk. |
Yes, that is also implemented now, as part of state manager 👍 |
0fb9c04
to
feaff28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
I would spend time improving the code since it is quite important IMO
src/coordination/include/coordination/coordinator_communication_config.hpp
Outdated
Show resolved
Hide resolved
src/coordination/include/coordination/coordinator_communication_config.hpp
Show resolved
Hide resolved
ac9a91c
to
f1a9426
Compare
@antoniofilipovic I'm missing the documentation PR. |
DescriptionThis diff adds durability to the coordinator log store and snapshots. General description:
[master < Task] PR
CI Testing LabelsPlease select the appropriate CI test labels (CI -build=build-name -test=test-suite) Documentation checklist
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work, have some smaller comments. In general, just make sure all behaviors are documented, it will be easier for us to handle this and for users
f8153f2
to
21e5e10
Compare
Quality Gate passedIssues Measures |
This diff adds durability to the coordinator log store and snapshots.
General description: