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
validator: Add --wait-for-super-majority to facilitate asynchronous cluster restarts #7701
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.
Lgtm. Shouldn't cause any problems.
Pull request has been modified.
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!
Pull request has been modified.
Codecov Report
@@ Coverage Diff @@
## master #7701 +/- ##
========================================
- Coverage 81.7% 81.7% -0.1%
========================================
Files 243 243
Lines 50497 50524 +27
========================================
+ Hits 41285 41289 +4
- Misses 9212 9235 +23 |
…luster restarts (bp solana-labs#7701) (solana-labs#7704) automerge
Restarting a cluster from a snapshot currently requires a high-level of coordination between all the staked nodes.
solana-validator --wait-for-super-majority ...
alleviates this issue by instructing the validator to remain parked on gossip until it sees > 66% of the stake on gossip as well.