From d409b5acd30a1c3909f950e0d39b62c8698f2bc5 Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Fri, 1 Aug 2014 16:42:02 -0400 Subject: [PATCH] Clarify existing slot wording on cluster start --- src/cluster.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 005a6ba5..3b3d2682 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -3289,14 +3289,13 @@ int verifyClusterConfigWithData(void) { update_config++; /* Case A: slot is unassigned. Take responsability for it. */ if (server.cluster->slots[j] == NULL) { - redisLog(REDIS_WARNING, "I've keys about slot %d that is " - "unassigned. Taking responsability " - "for it.",j); + redisLog(REDIS_WARNING, "I have keys for unassigned slot %d. " + "Taking responsibility for it.",j); clusterAddSlot(myself,j); } else { - redisLog(REDIS_WARNING, "I've keys about slot %d that is " - "already assigned to a different node. " - "Setting it in importing state.",j); + redisLog(REDIS_WARNING, "I have keys for slot %d, but the slot is " + "assigned to another node. " + "Setting it to importing state.",j); server.cluster->importing_slots_from[j] = server.cluster->slots[j]; } }