dhodovsk / source-git / pacemaker

Forked from source-git/pacemaker 3 years ago
Clone

409f23 Refactor: controller: improve efficiency when deleting node state

7 files Authored by kgaillot 3 years ago, Committed by rpm-build 3 years ago,
    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.