-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat(op-conductor): rollup-boost partial unhealthiness tolerance #17633
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
feat(op-conductor): rollup-boost partial unhealthiness tolerance #17633
Conversation
I was thinking this type of feature could use the sliding_window from proxyd. What are your thoughts on re-using instead of making a new object for this? That package already has testing and has been productionized already so I'd lean towards that over developing new modules. |
You mean importing proxyd as a package, and using? Although I haven't explored that thing but still I am not sure about establishing such kind of dependency b/w these two, especially considering that the dependent is gonna be op-conductor which is a part of If we'd like to re-use such functionality, I'd rather have it modularized somewhere under optimism like in |
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.
Could the timeBoundedRotatingCounter be put into a subpackage and unit tested outside of the context of the partial health check as well?
Yeah your right, we would have circular dependencys, probably not the best idea |
Done |
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
Signed-off-by: Yashvardhan Kukreja <[email protected]>
b0b3652
to
bc0cdb8
Compare
Description
Allows setting up two optional flags to op-conductor which allow conductor to tolerate 206's returned by rollup-boost. This feature is developed in favor of the fact that a lot of times such issues are bearable and not worth the leadership switch.
Tests
Additional context
Metadata