-
Notifications
You must be signed in to change notification settings - Fork 342
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
Feature: any delays from pcmk_delay_base/max are added to priority-fencing-delay #2027
Feature: any delays from pcmk_delay_base/max are added to priority-fencing-delay #2027
Conversation
Looks good to me. Why would the priority delay need to be twice the other? I would think anything greater would work. @wenningerk , thoughts? |
Don't see a reason why it would have to be double either. |
Define "significantly" :-) Users would ask the same. If users set a relatively big value of pcmk_delay_base/max, it means they expect relatively big "difference" in terms of delay so that it's safe enough to prevent double-fencing. Considering the corner cases we are trying to cover here, there should be corresponding "difference" gets reflected by |
I think twice is good as a simple recommendation. It just shouldn't read as if there was a |
48cedc5
to
347d105
Compare
Now it's "This delay should be significantly greater than, safely twice, the maximum |
Content-wise I'm fine with it. Language details I leave for the native-speakers to comment on ;-) |
Ok. @kgaillot must have better ideas on the phrasing :-) |
Works for me. @wenningerk , any comments on overall PR? |
Looking good to me.
|
You mean you prefer the word "added" rather than "combined" to be used in the doc/metadata, code comments and commit descriptions? Sure, if you think that's better :-)
It's what it exactly does invoking fence_with_delay() with "-1". Or do you mean "-1" for priority-fencing-delay should disable all delays including pcmk_delay_base/max? Is it a condition that an option so-called "priority-fencing-delay" should cover? |
Or do you mean the descriptions about the meaning of value "-1" for the |
Yes - directly naming the operation done ...
Scratch my comment about '-1' it is fine as it is. |
…bled This commit also documents the upcoming new behavior as discussed from: ClusterLabs#2012 Any static/random delays that are introduced by `pcmk_delay_base/max` configured for the corresponding fencing resources will be added to this delay. This delay should be significantly greater than, safely twice, the maximum `pcmk_delay_base/max`. By default, priority fencing delay is disabled.
… have equal priority In any cases, priority-fencing-delay won't take precedence over any configured pcmk_delay_base/max.
…uested fencing delay Requested fencing delay doesn't take precedence over any configured pcmk_delay_base/max. A delay value -1 now means disable also any static/random fencing delays from pcmk_delay_base/max. It's not used by any consumers for now.
This commit also documents the current behavior in the help: - Any static/random delays from pcmk_delay_base/max will be added to requested fencing delay. - A delay value -1 now means disable also any static/random fencing delays from pcmk_delay_base/max.
…y_base is added This commit also updates log patterns for the log changes.
347d105
to
6ab6d38
Compare
This introduces the new behavior as discussed from:
#2012
Any static/random delays that are introduced by
pcmk_delay_base/max
configured for the corresponding fencing resources will be added to
priority-fencing-delay
. This delay should be significantly greater than, safely twice,the maximum
pcmk_delay_base/max
. By default, priority fencing delay isdisabled.