This repository was archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Actively manage dead slots in AncestorHashesService #18912
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04b187c
to
e6ca84a
Compare
e6ca84a
to
6070330
Compare
Codecov Report
@@ Coverage Diff @@
## master #18912 +/- ##
=========================================
+ Coverage 82.8% 82.9% +0.1%
=========================================
Files 444 444
Lines 126716 127275 +559
=========================================
+ Hits 104941 105607 +666
+ Misses 21775 21668 -107 |
9cc3de5
to
16d6f16
Compare
16d6f16
to
323bbe7
Compare
AshwinSekar
reviewed
Jul 29, 2021
AshwinSekar
previously approved these changes
Jul 30, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
4ca785d
to
4d71642
Compare
Pull request has been modified.
4d71642
to
b503924
Compare
AshwinSekar
approved these changes
Aug 2, 2021
ryoqun
reviewed
Apr 24, 2023
repairable_dead_slot_pool: HashSet<Slot>, | ||
request_throttle: Vec<u64>, | ||
repair_stats: AncestorRepairRequestsStats, | ||
_duplicate_slots_reset_receiver: DuplicateSlotsResetReceiver, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here xref: #31319 (comment)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
AncestorHashesService doesn't currently make ancestor requests
Summary of Changes
dead_slot_pool
dead_slot_pool
to an eligible repair pool,repairable_dead_slot_pool
repairable_dead_slot_pool
slots are removed once anAncestorHashes
request is made for that slot. The status of the request is tracked inancestor_hashes_request_statuses
ancestor_hashes_request_statuses
.repairable_dead_slot_pool
, and will be retried later.Fixes #
#18783