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

Fix off by one in follower assertion. #509

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Fix off by one in follower assertion. #509

merged 1 commit into from
Feb 6, 2025

Conversation

kjnilsson
Copy link
Contributor

An assertion that ensures that a deposed leader does not reset its log lower than the know commit index was too strict by one.

Resetting to the commit index is fine.

An assertion that ensures that a deposed leader does not reset its
log lower than the know commit index was too strict by one.

Resetting _to_ the commit index is fine.
@kjnilsson kjnilsson merged commit 4a0f8f4 into main Feb 6, 2025
3 checks passed
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