Skip to content
  • Michael Hanselmann's avatar
    Set watcher pause on all nodes · 7c4bd156
    Michael Hanselmann authored
    
    
    Instead of just setting the watcher pause file, which isn't replicated,
    RPC is used to set it on all nodes (where possible). This means that
    after an outage of the master node and a following master-failover, the
    watcher will still be paused.
    
    The RPC is attempted on all nodes. Errors for nodes marked offline are
    ignored. All other errors are returned in the form of an exception
    (there is no other option given the LUXI API).
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    7c4bd156