• A
    Cluster: link reconnection on delayed PONG reply. · 5c9f6d4f
    antirez 提交于
    When the PONG delay is half the cluster node timeout, the link gets
    disconnected (and later automatically reconnected) in order to ensure
    that it's not just a dead connection issue.
    
    However this operation is only performed if the link is old enough, in
    order to avoid to disconnect the same link again and again (and among
    the other problems, never receive the PONG because of that).
    
    Note: when the link is reconnected, the 'ping_sent' field is not updated
    even if a new ping is sent using the new connection, so we can still
    reliably detect a node ping timeout.
    5c9f6d4f
redis.h 62.6 KB