• antirez's avatar
    Cluster: refactoring around configEpoch handling. · 4f2555aa
    antirez authored
    This commit moves the process of generating a new config epoch without
    consensus out of the clusterCommand() implementation, in order to make
    it reusable for other reasons (current target is to have a CLUSTER
    FAILOVER option forcing the failover when no master majority is
    reachable).
    
    Moreover the commit moves other functions which are similarly related to
    config epochs in a new logical section of the cluster.c file, just for
    clarity.
    4f2555aa
cluster.c 190 KB