mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 13:01:32 +00:00
Make pending buffer processing safe for CLIENT_MASTER client.
Related to #5305.
This commit is contained in:
@ -126,7 +126,7 @@ void processUnblockedClients(void) {
|
||||
* the code is conceptually more correct this way. */
|
||||
if (!(c->flags & CLIENT_BLOCKED)) {
|
||||
if (c->querybuf && sdslen(c->querybuf) > 0) {
|
||||
processInputBuffer(c);
|
||||
processInputBufferAndReplicate(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user