HomeClusterLabs Projects

Fix: scheduler: handle last-rc-change values after Y2038

Description

Fix: scheduler: handle last-rc-change values after Y2038

Resource history entries have a last-rc-change field with an epoch time.
Previously, this was parsed as a regular int for some status displays,
resulting in a Y2038 issue. Now, it is parsed using crm_element_value_epoch().

This only affected status displays, and not cluster operation.

Details

Provenance
kgaillotAuthored on Mar 19 2021, 4:28 PM
Parents
rP9d811c0faa65: Fix: scheduler: handle ticket last-granted dates after 2038
Branches
Unknown
Tags
Unknown

Event Timeline