HomeClusterLabs Projects

Low: controller: Reduce CIB deletions during reprobe

Description

Low: controller: Reduce CIB deletions during reprobe

Currently in force_reprobe() we delete each resource's history from the
CIB via delete_resource() -> delete_rsc_entry(), and then we delete the
entire node's resource history (lrm section) via
controld_delete_node_state(). Deleting the whole node resource history
makes the individual resource deletions redundant. We can avoid those
and their associated overhead.

Closes T219

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

Details

Provenance
nrwahl2Authored on Nov 29 2022, 6:44 PM
Parents
rPf5868dde2054: Fix: controller: Don't reprobe remotes when target is only cluster node
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task