mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +00:00
Slave removal: blocked.c logs fixed.
This commit is contained in:
parent
c9bab6f302
commit
05e8db24ed
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user