summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-01-13 10:48:49 +0100
committerantirez <antirez@gmail.com>2015-01-13 10:50:34 +0100
commitcf76af6b9fb7f808ac6f0ab79393d390a14f9cd9 (patch)
tree9230202890153097d493bdd74f192ac11e798785 /sentinel.conf
parent5b0f4a83ace5d44289bfc0186449611187f081f2 (diff)
downloadredis-cf76af6b9fb7f808ac6f0ab79393d390a14f9cd9.tar.gz
Cluster: fetch my IP even if msg is not MEET for the first time.
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.
Diffstat (limited to 'sentinel.conf')
0 files changed, 0 insertions, 0 deletions