HomeClusterLabs Projects

Log: based: Use correct local-only diff logic

Description

Log: based: Use correct local-only diff logic

cib_diff_notify() and cib_replace_notify() should use the same logic as
xml_show_patchset_header() to determine whether the diff is local-only.
The existing checks were incomplete.

We still see "local-only" diffs coming from other nodes (per the origin
field), so the terminology should be revisited at some point.

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

Details

Provenance
nrwahl2Authored on Mar 30 2023, 6:17 PM
Parents
rP15678b7c8ac8: Refactor: based: Make CIB diff/replace notify more similar
Branches
Unknown
Tags
Unknown