HomeClusterLabs Projects

Refactor: based: Clean up parse_local_options_v2()

Description

Refactor: based: Clean up parse_local_options_v2()

Improve clarity of conditions. Use consistent order when setting
booleans. Add a trace message for always-local ops.

If needs_forward is TRUE, then cib_process_request() ignores all the
other booleans. For clarity, set them to FALSE.

In particular, needs_reply = TRUE is nonsense if needs_forward is TRUE.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on May 25 2023, 9:18 PM
Parents
rP4e15cc36a488: Refactor: based: Remove PCMK__CIB_REQUEST_ALL_SECONDARY
Branches
Unknown
Tags
Unknown