HomeClusterLabs Projects

Low: pengine: check for duplicate intervals properly

Description

Low: pengine: check for duplicate intervals properly

Previously, it would compare the user's interval specification of two actions
when checking whether they were duplicates. However, this would fail to detect
(for example) that "30s", "30000ms", and "P30S" are all equivalent.

Now, it parses the specifications into milliseconds and compares numerically.

Details

Provenance
kgaillotAuthored on Mar 7 2018, 2:34 PM
Parents
rP82a674a5ab5c: Low: libcrmcommon: avoid misuse of crm_get_msec()
Branches
Unknown
Tags
Unknown

Event Timeline