HomeClusterLabs Projects

Refactor: libpacemaker: best practices for applying orderings

Description

Refactor: libpacemaker: best practices for applying orderings

stage7() in pcmk_sched_allocate.c previously had two unrelated components,
applying orderings and logging actions.

The ordering component is now pcmk__apply_orderings() in pcmk_sched_ordering.c
(declared in the library-private), and the logging component is now
log_all_actions() in pcmk_sched_messages.c. Comments and formatting have been
improved.

This abandons the "stage" naming scheme, since it was already broken (e.g. a
stage 0 and no stage 1, with extraneous stuff inserted into various "stages").

Details

Provenance
kgaillotAuthored on Sep 2 2021, 5:51 PM
Parents
rP47498ed2f0d8: Refactor: libpacemaker: best practices for ordering stops before shutdown
Branches
Unknown
Tags
Unknown

Event Timeline