HomeClusterLabs Projects

Refactor: based: New cib_op_attr_{replaces,writes_through} flags

Description

Refactor: based: New cib_op_attr_{replaces,writes_through} flags

cib_op_attr_replaces is necessarily a superset of cib_op_attr_modifies
and implies that the latter is set. However, we set cib_op_attr_modifies
explicitly to make callers simpler.

This handles the cases in cib_process_command() where we currently use
pcmk__str_any_of() (except for one case in a legacy code block that
would require yet another new cib_op_attr flag).

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

Details

Provenance
nrwahl2Authored on May 24 2023, 4:31 PM
Parents
rP987c7bf3ef39: Refactor: based: Check cib_change_section of erase op for replace notify
Branches
Unknown
Tags
Unknown