• antirez's avatar
    Sentinel: don't detect duplicated Sentinels, just address switch · a0cd75cd
    antirez authored
    Since with a previous commit Sentinels now persist their unique ID, we
    no longer need to detect duplicated Sentinels and re-add them. We remove
    and re-add back using different events only in the case of address
    switch of the same Sentinel, without generating a new +sentinel event.
    a0cd75cd
sentinel.c 151 KB