Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6a7a32a8
Commit
6a7a32a8
authored
Aug 01, 2014
by
Matt Stancliff
Committed by
antirez
Aug 18, 2014
Browse files
Clarify existing slot wording on cluster start
parent
edca2b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
6a7a32a8
...
...
@@ -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
tha
t is "
"
already
assigned to a
different
node. "
"Setting it
in
importing state."
,
j
);
redisLog
(
REDIS_WARNING
,
"I
ha
ve keys
for
slot %d
, but the slo
t is "
"assigned to a
nother
node. "
"Setting it
to
importing state."
,
j
);
server
.
cluster
->
importing_slots_from
[
j
]
=
server
.
cluster
->
slots
[
j
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment