HomeClusterLabs Projects

Fix: libpacemaker: correctly find the best operation history entry to calculate…

Description

Fix: libpacemaker: correctly find the best operation history entry to calculate digests for

Previously if there were multiple non-recurring lrm_rsc_op entries, an
outdated operation might be picked. Especially given that migration
operations are now recorded separately with 48a97bcc1, the latest and
effective non-recurring operation should be preferred.

Not sure if it always makes sense, the logic for preferring non-failure
operations and operations with a restart digest is still preserved.

Details

Provenance
gao-yanAuthored on Jul 8 2022, 2:14 AM
Parents
rP836afbbe0e11: Test: cts-scheduler: restart a resource configured with extra operation…
Branches
Unknown
Tags
Unknown