-
Notifications
You must be signed in to change notification settings - Fork 897
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 timeout knob for monitoring server roles #17265
Add timeout knob for monitoring server roles #17265
Conversation
Shouldn't this be added to |
https://bugzilla.redhat.com/show_bug.cgi?id=1564567 Monitoring server roles as the master server is so important, it should finish and not ever timeout. If it times out, servers will not be able to gain roles. Previously, the default lock timeout of 1 minute is too low in situations where the master server has higher than normal latency to the database. We need to give it more time to finish before timing it out. Additionally, we can specify this value in advanced settings in the server section if 5.minutes is still not enough or just a wrong value.
e38ce72
to
1f564cd
Compare
Yeah, I wanted to not expose it but then we have the whole effort to externalize all hardcoded settings to the config file so yeah, I should have put it in settings.yml. Updated now. |
Checked commit jrafanie@1f564cd with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
…_timeout Add timeout knob for monitoring server roles (cherry picked from commit 8b8d86c) https://bugzilla.redhat.com/show_bug.cgi?id=1568159
Fine backport details:
|
…_timeout Add timeout knob for monitoring server roles (cherry picked from commit 8b8d86c) https://bugzilla.redhat.com/show_bug.cgi?id=1568158
Gaprindashvili backport details:
|
…er_roles_timeout Add timeout knob for monitoring server roles (cherry picked from commit 8b8d86c) https://bugzilla.redhat.com/show_bug.cgi?id=1568159
https://bugzilla.redhat.com/show_bug.cgi?id=1564567
Monitoring server roles as the master server is so important, it should
finish and not ever timeout. If it times out, servers will not be able
to gain roles. Previously, the default lock timeout of 1 minute is too
low in situations where the master server has higher than normal
latency to the database. We need to give it more time to finish before
timing it out.
Additionally, we can specify this value in advanced settings in the server
section if 5.minutes is still not enough or just a wrong value.