when processing gossip packets make sure to also update the node bitmap when associating slots to nodes. Fixed simply using the appropriate helper function to add a slot.
This commit is contained in:
parent
7112580cb3
commit
66c146592a
@ -636,7 +636,7 @@ int clusterProcessPacket(clusterLink *link) {
|
|||||||
if (server.cluster.slots[j] == NULL ||
|
if (server.cluster.slots[j] == NULL ||
|
||||||
server.cluster.slots[j]->flags & REDIS_NODE_FAIL)
|
server.cluster.slots[j]->flags & REDIS_NODE_FAIL)
|
||||||
{
|
{
|
||||||
server.cluster.slots[j] = sender;
|
clusterAddSlot(sender,j);
|
||||||
update_state = update_config = 1;
|
update_state = update_config = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user