-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Use epoch as the gossip purge timeout for staked nodes. #7005
Conversation
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.
Minor comments.
Pull request has been modified.
Codecov Report
@@ Coverage Diff @@
## master #7005 +/- ##
========================================
- Coverage 79% 71.2% -7.8%
========================================
Files 225 227 +2
Lines 43369 48359 +4990
========================================
+ Hits 34279 34460 +181
- Misses 9090 13899 +4809 |
b463e02
to
e670bf6
Compare
4c8ae6e
to
0ed4ec4
Compare
4a4a6b2
to
87152e2
Compare
* jemalloc heap memory tracker * gossip recycler fixes * partition test cleanup
87152e2
to
39d5c7d
Compare
@@ -1385,6 +1385,7 @@ impl Bank { | |||
/// A snapshot bank should be purged of 0 lamport accounts which are not part of the hash | |||
/// calculation and could shield other real accounts. | |||
pub fn verify_snapshot_bank(&self) -> bool { | |||
self.purge_zero_lamport_accounts(); |
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.
@aeyakovenko Err, I think this should be removed because this is cherry-picked from #7010, which is not a correct fix (I'm working on it), and isn't related to this PR.
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.
back ref: #7010 (comment)
Problem
Gossip purge timeout is really short and will cause staked nodes to be purged during a relatively short partition.
Summary of Changes
Set the gossip timeout for staked nodes to be 1 epoch long.
Fixes #
tag: @sagar-solana