HomeClusterLabs Projects

Refactor: controller: improve efficiency when deleting node state

Description

Refactor: controller: improve efficiency when deleting node state

Rename erase_status_xpath() to controld_delete_node_state() to follow current
naming practice.

Instead of passing it a node_state subsection name, pass a new enum value
indicating what to erase (resource history, transient node attributes, or
both). This allows us to improve the log messages further, as well as improving
efficiency when both need to be cleared.

Details

Provenance
kgaillotAuthored on Dec 13 2019, 12:16 PM
Parents
rP73510818bc99: Refactor: controller: move erase_status_tag() to controld_based.c
Branches
Unknown
Tags
Unknown

Event Timeline