From 1ed0ad77f06ea749464296f2b50af569b5682d93 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 11 Mar 2014 11:32:40 +0100 Subject: [PATCH] Cluster: clarified a comment in clusterUpdateSlotsConfigWith(). --- src/cluster.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 67fbf3df..ec0bc171 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1113,9 +1113,9 @@ void clusterUpdateSlotsConfigWith(clusterNode *sender, uint64_t senderConfigEpoc for (j = 0; j < REDIS_CLUSTER_SLOTS; j++) { if (bitmapTestBit(slots,j)) { /* We rebind the slot to the new node claiming it if: - * 1) The slot was unassigned. - * 2) The new node claims it with a greater configEpoch. - * 3) We are not currently importing the slot. */ + * 1) The slot was unassigned or the new node claims it with a + * greater configEpoch. + * 2) We are not currently importing the slot. */ if (server.cluster->slots[j] == sender || server.cluster->importing_slots_from[j]) continue; if (server.cluster->slots[j] == NULL ||