提交 66c14659 编写于 作者: A antirez

when processing gossip packets make sure to also update the node bitmap when...

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.
上级 7112580c
......@@ -636,7 +636,7 @@ int clusterProcessPacket(clusterLink *link) {
if (server.cluster.slots[j] == NULL ||
server.cluster.slots[j]->flags & REDIS_NODE_FAIL)
{
server.cluster.slots[j] = sender;
clusterAddSlot(sender,j);
update_state = update_config = 1;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册