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

Make reads and writes linearizable #4996

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Make reads and writes linearizable #4996

merged 6 commits into from
Oct 12, 2023

Conversation

tylerwilliams
Copy link
Member

@tylerwilliams tylerwilliams commented Oct 11, 2023

Make all reads and writes linearizable so we're not fighting the library. Basically just means rather than going around the raft locks when reading and writing stuff, we run the requests through the statemachine as raftgod intended.

There's a small performance impact for writes and seemingly none for reads. Will come back and fix that once other stuff is solid.

@tylerwilliams tylerwilliams changed the title raft24 Make reads and writes linearizable Oct 12, 2023
@tylerwilliams tylerwilliams enabled auto-merge (squash) October 12, 2023 00:03
@tylerwilliams tylerwilliams merged commit 30b82f8 into master Oct 12, 2023
5 of 7 checks passed
@tylerwilliams tylerwilliams deleted the raft24 branch October 12, 2023 00:07
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