summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-08-01 16:42:02 -0400
committerantirez <antirez@gmail.com>2014-08-18 10:58:00 +0200
commit6a7a32a806aa7a10239803293a04966d75409942 (patch)
tree0f5fb8f64dcc576d5c9d3e36a4fcf45b6e2c6224
parentedca2b14d213c31da9e7a919f6b898f3ea8abea8 (diff)
downloadredis-6a7a32a806aa7a10239803293a04966d75409942.tar.gz
Clarify existing slot wording on cluster start
-rw-r--r--src/cluster.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 005a6ba54..3b3d2682a 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];
}
}