diff --git a/src/cluster.c b/src/cluster.c index 603a9557..ce75b83e 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -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; } }