-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
adds feature gated code to drop legacy shreds #34328
adds feature gated code to drop legacy shreds #34328
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #34328 +/- ##
=========================================
- Coverage 81.9% 81.9% -0.1%
=========================================
Files 819 819
Lines 220530 220572 +42
=========================================
+ Hits 180786 180811 +25
- Misses 39744 39761 +17 |
7ad9af0
to
4266ef5
Compare
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
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.
lgtm assuming the comment is correct
Some(feature_slot) => { | ||
let feature_epoch = epoch_schedule.get_epoch(feature_slot); | ||
let shred_epoch = epoch_schedule.get_epoch(shred_slot); | ||
feature_epoch < shred_epoch |
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.
one epoch delay is intentional, correct?
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.
yes, at epoch boundary, if shreds are from the next epoch, we don't know if the feature is activated or not,
4266ef5
to
c944cec
Compare
(cherry picked from commit d5eee01)
) (#34346) * adds feature gated code to drop legacy shreds (#34328) (cherry picked from commit d5eee01) * derefrences instead of clone --------- Co-authored-by: behzad nouri <[email protected]>
Problem
Moving on from legacy shreds.
Summary of Changes
Added feature to drop legacy shreds.