Skip to content
Snippets Groups Projects
  • Morris Jette's avatar
    23f84ace
    Avoid triggering accounting if node state unchanged · 23f84ace
    Morris Jette authored
    If call was made to change a node's state to the same state it
    was already in and set its reason to the same value it already
    had, then an accounting record was generated. If a script, say
    NodeHealthCheck is repeatedly setting a node state (say DRAIN),
    it could generate a huge number of redundant accounting records.
    This eliminates these redundant records.
    related to bug 1437
    23f84ace
    History
    Avoid triggering accounting if node state unchanged
    Morris Jette authored
    If call was made to change a node's state to the same state it
    was already in and set its reason to the same value it already
    had, then an accounting record was generated. If a script, say
    NodeHealthCheck is repeatedly setting a node state (say DRAIN),
    it could generate a huge number of redundant accounting records.
    This eliminates these redundant records.
    related to bug 1437