-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Heal command #468
Add Heal command #468
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.
Looks great! Thank you!
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
Co-authored-by: Saša Tomić <[email protected]>
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.
Awesome!
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.
Noice job machine 🤖
Co-authored-by: Nikola Milosavljevic <[email protected]> Co-authored-by: Saša Tomić <[email protected]>
This introduces the
heal
command, designed to improve the health of the network by replacing unhealthy nodes within specified subnets.The command traverses all nodes in the network, identifying and replacing the unhealthy in each subnet.
Users can optionally specify the argument
--max-replaceable-nodes-per-sub
to optimize the healing process up to max-replaceable-nodes-per-sub nodes.If the
--max-replaceable-nodes-per-sub
argument is not provided, the algorithm will proceed replacing all and only the unhealthy nodes in the subnets.