mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
block: rewrite BRPOPLPUSH as RPOPLPUSH to propagate
This commit is contained in:
@ -596,6 +596,9 @@ void rpoplpushCommand(client *c) {
|
||||
signalModifiedKey(c->db,touchedkey);
|
||||
decrRefCount(touchedkey);
|
||||
server.dirty++;
|
||||
if (c->lastcmd->proc == brpoplpushCommand) {
|
||||
rewriteClientCommandVector(c,3,shared.rpoplpush,c->argv[1],c->argv[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user