-
Notifications
You must be signed in to change notification settings - Fork 267
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
Only aggregate heaviest fork at the coordinator. #3115
Only aggregate heaviest fork at the coordinator. #3115
Conversation
wen-coding
commented
Oct 9, 2024
- Only aggregate heaviest fork from the coordinator
- Remove the "80% sees 80%" exit condition
- Only exit if stopped
@@ -1005,6 +867,15 @@ pub fn wait_for_wen_restart(config: WenRestartConfig) -> Result<()> { | |||
--no-snapshot-fetch", | |||
slot, hash, shred_version, | |||
); | |||
if config.cluster_info.id() == config.wen_restart_coordinator { | |||
aggregate_restart_heaviest_fork( |
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.
why do we need to aggregate on completion here?
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.
I think this was your suggestion: make the coordinator aggregate heaviest fork at the end, so we know the status of the cluster from watching the coordinator
* Only aggregate heaviest fork for the coordinator, do not exit until asked. * Fix a bad merge.