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
775cc30a
"vscode:/vscode.git/clone" did not exist on "0d9febf6a02abf7c232b79d02c65d00427368df1"
Commit
775cc30a
authored
Oct 27, 2014
by
antirez
Browse files
Use new slave name function for diskless repl reporting.
parent
8a416ca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
775cc30a
...
...
@@ -1347,15 +1347,15 @@ void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
}
if
(
j
==
ok_slaves
[
0
]
||
errorcode
!=
0
)
{
redisLog
(
REDIS_WARNING
,
"Closing slave %
llu
: child->slave RDB transfer failed: %s"
,
slave
->
id
,
"Closing slave %
s
: child->slave RDB transfer failed: %s"
,
replicationGetSlaveName
(
slave
)
,
(
errorcode
==
0
)
?
"RDB transfer child aborted"
:
strerror
(
errorcode
));
freeClient
(
slave
);
}
else
{
redisLog
(
REDIS_WARNING
,
"Slave %
llu
correctly received the streamed RDB file."
,
slave
->
id
);
"Slave %
s
correctly received the streamed RDB file."
,
replicationGetSlaveName
(
slave
)
);
/* Restore the socket as non-blocking. */
anetNonBlock
(
NULL
,
slave
->
fd
);
anetSendTimeout
(
NULL
,
slave
->
fd
,
0
);
...
...
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