HomeClusterLabs Projects

Low: controller,libpacemaker: transition graph IDs should be positive

Description

Low: controller,libpacemaker: transition graph IDs should be positive

Previously, -1 was used to indicate an empty graph (an allocated graph object
not parsed from XML), and 0 was the first actual graph ID. However that led to
awkward log messages referring to "Transition -1" and "Transition 0".

Now, use 0 to indicate an empty graph, and 1 as the first actual ID. This still
leaves "Transition 0" for empty graphs (such as aborting a transition before
any transition has happened), but that can be addressed separately.

Details

Provenance
kgaillotAuthored on Jul 30 2024, 12:56 PM
Parents
rP3980678f0372: Doc: ChangeLog: update for 2.1.8 release
Branches
Unknown
Tags
Unknown