]> git.saurik.com Git - redis.git/commit
A node can populate a slot if a message from a trusted slot is received claiming...
authorantirez <antirez@gmail.com>
Wed, 5 Oct 2011 15:40:02 +0000 (17:40 +0200)
committerantirez <antirez@gmail.com>
Wed, 5 Oct 2011 15:40:02 +0000 (17:40 +0200)
commit9465d83efd8afa5f6c99486e0b9a232b6f25d31b
tree380b954c83f073fa3b50664a818be1a3f0bb6052
parentdbf6bca4315db7cf03ae0d33a25c515b0b0849c8
A node can populate a slot if a message from a trusted slot is received claiming ownership of this slot, that is currently empty or served by a node in FAIL state. However this feature was broken since calling clusterAddSlot() was not enough as the slot bit is already set in the node that pong us. We need to directly alter the table. This commit fixes the issue.
src/cluster.c