• A
    Cluster: fetch my IP even if msg is not MEET for the first time. · df1a7fc4
    antirez 提交于
    In order to avoid that misconfigured cluster nodes at some time may
    force an IP update on other nodes, it is required that nodes update
    their own address only on MEET messages. However it does not make sense
    to do this the first time a node is contacted and yet does not have an
    IP, we just risk that myself->ip remains not assigned if there are
    messages lost or cluster creation procedures that don't make sure
    everybody is targeted by at least one incoming MEET message.
    
    Also fix the logging of the IP switch avoiding the :-1 tail.
    df1a7fc4
cluster.c 182.5 KB