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

banking_stage: evict unstaked votes on epoch boundary #2960

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

AshwinSekar
Copy link

Problem

Votes from unstaked voters are filtered out on insertion. However when the epoch boundary rolls over, previously inserted votes could now be unstaked.

Summary of Changes

Additionally evict votes from now unstaked voters on epoch boundary. With this the size of the queue should always be bounded to the size of the voting quorum.

Fixes #2079

@AshwinSekar AshwinSekar merged commit 1bcb252 into anza-xyz:master Sep 24, 2024
40 checks passed
@AshwinSekar AshwinSekar deleted the evict-unstaked-votes branch September 24, 2024 02:20
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.

Come up with a better bound for the vote storage queue in banking stage.
2 participants