mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
CG: Replication WIP 1: XREADGROUP and XCLAIM propagated as XCLAIM.
This commit is contained in:
@ -348,9 +348,14 @@ void handleClientsBlockedOnKeys(void) {
|
||||
addReplyMultiBulkLen(receiver,1);
|
||||
addReplyMultiBulkLen(receiver,2);
|
||||
addReplyBulk(receiver,rl->key);
|
||||
|
||||
streamPropInfo pi = {
|
||||
rl->key,
|
||||
receiver->bpop.xread_group
|
||||
};
|
||||
streamReplyWithRange(receiver,s,&start,NULL,
|
||||
receiver->bpop.xread_count,
|
||||
0, group, consumer, 0);
|
||||
0, group, consumer, 0, &pi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user