HomeClusterLabs Projects

Fix: crmd: Do not update fail-count and last-failure for old failures

Description

Fix: crmd: Do not update fail-count and last-failure for old failures

A DC election may introduce a lrm status refresh. If there are
previously failed lrm operations, crmd will notice them as "Old event".
While that will still trigger the update of fail-count and last-failure.
If the resource has "migration-threshold" or "failure-timeout"
attribute, that can cause unnecessary migration.

Details

Provenance
gao-yanAuthored on Apr 10 2013, 1:15 AM
Parents
rPfddb3941d3c6: Merge pull request #277 from gao-yan/cibadmin-query-quiet
Branches
Unknown
Tags
Unknown

Event Timeline