[ClusterLabs] [Question] About a change of crm_failcount.

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Thu Feb 9 17:08:57 UTC 2017


On Thu, 09 Feb 2017 18:04:41 +0100
wferi at niif.hu (Ferenc Wágner) wrote:

> 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:
> >
> > https://github.com/ioguix/PAF/commit/6123025ff7cd9929b56c9af2faaefdf392886e68  
> 
> 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?

No, you are perfectly right. We are aware of this, this is something we need to
fix in the next release of PAF (I was actually discussing this with a user 2
days ago on IRC :)).

Thank you for the report!
-- 
Jehan-Guillaume de Rorthais
Dalibo




More information about the Users mailing list