• A
    Cluster: on resharding upgrade version of receiving node. · 2e3f6b0f
    antirez 提交于
    The node receiving the hash slot needs to have a version that wins over
    the other versions in order to force the ownership of the slot.
    
    However the current code is far from perfect since a failover can happen
    during the manual resharding. The fix is a work in progress but the
    bottom line is that the new version must either be voted as usually,
    set by redis-trib manually after it makes sure can't be used by other
    nodes, or reserved configEpochs could be used for manual operations (for
    example odd versions could be never used by slaves and are always used
    by CLUSTER SETSLOT NODE).
    2e3f6b0f
cluster.c 150.6 KB