• A
    Sentinel: changes to connection handling and redirection. · e47236d8
    antirez 提交于
    We disconnect the Redis instances hiredis link in a more robust way now.
    Also we change the way we perform the redirection for the +switch-master
    event, that is not just an instance reset with an address change.
    
    Using the same system we now implement the +redirect-to-master event
    that is triggered by an instance that is configured to be master but
    found to be a slave at the first INFO reply. In that case we monitor the
    master instead, logging the incident as an event.
    e47236d8
sentinel.c 93.5 KB