• Julien Muchembled's avatar
    Do not reconnect too quickly to a node after an error · d898a83d
    Julien Muchembled authored
    For example, a backup storage node that was rejected because the upstream
    cluster was not ready could reconnect in loop without delay, using 100% CPU
    and flooding logs.
    
    A new 'setReconnectionNoDelay' method on Connection can be used for cases where
    it's legitimate to quickly reconnect.
    
    With this new delayed reconnection, it's possible to remove the remaining
    time.sleep().
    d898a83d
testReplication.py 17.5 KB