HomeClusterLabs Projects

Use diff notifications from the CIB instead of updates since:

Description

Use diff notifications from the CIB instead of updates since:

  • updates made from a remote node will only arrive as diffs
  • we are only interested in changes (reduces false positives leading to extra transitions)

Use op keys (rsc name + action + interval) to match actions
Ignore updates that dont match the current transition (prevents the TE from

progressing based on an operation from a previously cancelled transition)

Use "transition_magic" as a backup in case status or transition_id hasnt

changed and is therefor filtered by the diffing process.
The combination should always change.

Use XML_LRM_ATTR_TARGET_UUID (id) for matching actions since

XML_LRM_ATTR_TARGET will often be filtered out by the diffing process.

Match against the lrm_rsc_op entries and not their lrm_resource parent
Only ever ignore "pending" updates (ie. ones we made to say we were about

to perform some action)

CVS patchset: 6681
CVS date: 2005/06/15 10:47:45

Mercurial revision: 259b3ff64211898c963e09a5a1172de4f25ec33b

Details

Provenance
Andrew Beekhof <andrew@beekhof.net>Authored on Jun 15 2005, 6:47 AM
Parents
rPb829b0d34ca8: Obtain the transition id that the TE is providing with every operation.
Branches
Unknown
Tags
Unknown

Event Timeline