diff --git a/src/cluster.c b/src/cluster.c index a390585f3..9e4cfd273 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -998,6 +998,8 @@ void clusterInit(void) { memset(server.cluster->slots,0, sizeof(server.cluster->slots)); clusterCloseAllSlots(); + memset(server.cluster->owner_not_claiming_slot, 0, sizeof(server.cluster->owner_not_claiming_slot)); + /* Lock the cluster config file to make sure every node uses * its own nodes.conf. */ server.cluster_config_file_lock_fd = -1;