Skip to content

Conversation

@clemahieu
Copy link
Contributor

This change appropriately prioritises elections by bucket and then by LRU account. Overfilled buckets have the lowest priority block election cancelled and rolled back.

@clemahieu clemahieu force-pushed the priority_limiter branch 3 times, most recently from aad626f to 456acf9 Compare April 30, 2024 16:22
@qwahzi qwahzi added this to the V27 milestone Apr 30, 2024
@clemahieu clemahieu force-pushed the priority_limiter branch 7 times, most recently from ecdbcdd to a3ea5fa Compare May 6, 2024 14:49
@clemahieu clemahieu force-pushed the priority_limiter branch from d4a7886 to 4feb0be Compare May 9, 2024 13:06
clemahieu added 12 commits May 10, 2024 08:39
Each scheduler checks its own limits with calls to active_elections::vacancy.
Trim is problematic as it indiscriminately cancels elections without consideration to why it was scheduled or its priority.
…en rather than using vacancy()

Remove election_scheduler.no_vacancy
Schedulers only get notifications when an election is closed i.e. vacancy has increased.
Convert vacancy_update to election_stopped observer.

Reworking buckets.

Fixing bucket

WIP

WIP

Commenting removal selection

Scheduler logging.

Increase timestamp precision.

Formatting.

Removing completed elections.
@qwahzi
Copy link
Collaborator

qwahzi commented Jul 2, 2024

Removing from V27 milestone due to: #4626

@qwahzi qwahzi removed this from the V27 milestone Jul 2, 2024
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