• antirez's avatar
    Cluster: check that configEpoch never goes back. · 32d0a79f
    antirez authored
    Since there are ways to alter the configEpoch outside of the failover
    procedure (for exampel CLUSTER SET-CONFIG-EPOCH and via the configEpoch
    collision resolution algorithm), make always sure, before replacing our
    configEpoch with a new one, that it is greater than the current one.
    32d0a79f
cluster.c 171 KB