Skip to content
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

Merged
merged 3 commits into from Jan 7, 2020

Conversation

mvines
Copy link
Member

@mvines mvines commented Jan 7, 2020

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.

sagar-solana
sagar-solana previously approved these changes Jan 7, 2020
Copy link
Contributor

@sagar-solana sagar-solana left a 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.

validator/src/main.rs Outdated Show resolved Hide resolved
CriesofCarrots
CriesofCarrots previously approved these changes Jan 7, 2020
Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

validator/src/main.rs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jan 7, 2020

Codecov Report

Merging #7701 into master will decrease coverage by <.1%.
The diff coverage is 31.5%.

@@           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

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.

None yet

4 participants