[ClusterLabs] Antw: Re: [Question] About a change of crm_failcount.
wferi at niif.hu
Thu Feb 9 12:04:41 EST 2017
Jehan-Guillaume de Rorthais <jgdr at dalibo.com> writes:
> PAF use private attribute to give informations between actions. We
> detect the failure during the notify as well, but raise the error
> during the promotion itself. See how I dealt with this in PAF:
This is the first time I hear about private attributes. Since they
could come useful one day, I'd like to understand them better. After
some reading, they seem to be node attributes, not resource attributes.
This may be irrelevant for PAF, but doesn't it mean that two resources
of the same type on the same node would interfere with each other?
Also, your _set_priv_attr could fall into an infinite loop if another
instance used it at the inappropriate moment. Do I miss something here?
More information about the Users