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
05e8db24
Commit
05e8db24
authored
Sep 10, 2018
by
antirez
Browse files
Slave removal: blocked.c logs fixed.
parent
c9bab6f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/blocked.c
View file @
05e8db24
...
@@ -215,7 +215,7 @@ void disconnectAllBlockedClients(void) {
...
@@ -215,7 +215,7 @@ void disconnectAllBlockedClients(void) {
if
(
c
->
flags
&
CLIENT_BLOCKED
)
{
if
(
c
->
flags
&
CLIENT_BLOCKED
)
{
addReplySds
(
c
,
sdsnew
(
addReplySds
(
c
,
sdsnew
(
"-UNBLOCKED force unblock from blocking operation, "
"-UNBLOCKED force unblock from blocking operation, "
"instance state changed (master ->
slave
?)
\r\n
"
));
"instance state changed (master ->
replica
?)
\r\n
"
));
unblockClient
(
c
);
unblockClient
(
c
);
c
->
flags
|=
CLIENT_CLOSE_AFTER_REPLY
;
c
->
flags
|=
CLIENT_CLOSE_AFTER_REPLY
;
}
}
...
...
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