• antirez's avatar
    Sentinel: fixes inverted strcmp() test preventing config updates. · 6f4fd557
    antirez authored
    The result of this one-char bug was pretty serious, if the new master
    had the same port of the previous master, but just a different IP
    address, non-leader Sentinels would not be able to recognize the
    configuration change.
    
    This commit fixes issue #1394.
    
    Many thanks to @shanemadden that reported the bug and helped
    investigating it.
    6f4fd557
sentinel.c 128 KB