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

Add per-bucket election limiter #4623

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

clemahieu
Copy link
Contributor

@clemahieu clemahieu commented May 14, 2024

This change is a simpler version of the priority scheduler per-bucket limiter that tracks the number of elections it's started while retaining the ability to queue blocks for activation once elections already started for the bucket complete.

This removes the priority scheduler thread. Elections are activated at time of call to ::activate or when a different election is being cleaned up.

@clemahieu clemahieu force-pushed the merge_buckets_priority branch 2 times, most recently from 312be5a to 0e83188 Compare May 15, 2024 00:27
@clemahieu clemahieu marked this pull request as ready for review May 15, 2024 02:18
@clemahieu clemahieu requested a review from pwojcikdev May 15, 2024 02:18
@clemahieu clemahieu force-pushed the merge_buckets_priority branch 2 times, most recently from 9b4b604 to 408a4cf Compare May 15, 2024 14:48
…cket maximum.

The number of elections started for a particular bucket is now limited on a per-bucket basis rather than globally across all buckets.
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.

None yet

1 participant