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
707ff0f7
Commit
707ff0f7
authored
Sep 30, 2013
by
antirez
Browse files
Make clear that runids are not cluster node IDs.
parent
4dc247eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
707ff0f7
...
@@ -343,7 +343,7 @@ int masterTryPartialResynchronization(redisClient *c) {
...
@@ -343,7 +343,7 @@ int masterTryPartialResynchronization(redisClient *c) {
/* Run id "?" is used by slaves that want to force a full resync. */
/* Run id "?" is used by slaves that want to force a full resync. */
if
(
master_runid
[
0
]
!=
'?'
)
{
if
(
master_runid
[
0
]
!=
'?'
)
{
redisLog
(
REDIS_NOTICE
,
"Partial resynchronization not accepted: "
redisLog
(
REDIS_NOTICE
,
"Partial resynchronization not accepted: "
"Runid mismatch (Client asked for
'%s', I'm
'%s')"
,
"Runid mismatch (Client asked for
runid '%s', my runid is
'%s')"
,
master_runid
,
server
.
runid
);
master_runid
,
server
.
runid
);
}
else
{
}
else
{
redisLog
(
REDIS_NOTICE
,
"Full resync requested by slave."
);
redisLog
(
REDIS_NOTICE
,
"Full resync requested by slave."
);
...
...
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