• Liu Zhen's avatar
    fix clusters mixing accidentally by gossip · ee4696b1
    Liu Zhen authored
    `clusterStartHandshake` will start hand handshake
    and eventually send CLUSTER MEET message, which is strictly prohibited
    in the REDIS CLUSTER SPEC.
    Only system administrator can initiate CLUSTER MEET message.
    Futher, according to the SPEC, rather than IP/PORT pairs, only nodeid
    can be trusted.
    
    (cherry picked from commit 84a7a905)
    ee4696b1
cluster.c 224 KB