mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
CG: propagate XACK by incrementing server.dirty.
This should be more than enough, even if in case of partial IDs that are not found, we send all the IDs to the slave/AOF, but this is definitely a corner case without bad effects if not some wasted space.
This commit is contained in:
parent
0f2c6b6a18
commit
233da29f4d
@ -1559,6 +1559,7 @@ void xackCommand(client *c) {
|
|||||||
raxRemove(nack->consumer->pel,buf,sizeof(buf),NULL);
|
raxRemove(nack->consumer->pel,buf,sizeof(buf),NULL);
|
||||||
streamFreeNACK(nack);
|
streamFreeNACK(nack);
|
||||||
acknowledged++;
|
acknowledged++;
|
||||||
|
server.dirty++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
addReplyLongLong(c,acknowledged);
|
addReplyLongLong(c,acknowledged);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user