mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Streams: increment dirty counter for XGROUP SETID/DESTROY.
See issue #5005 comments.
This commit is contained in:
parent
cec404f099
commit
923e63e5ec
@ -1614,11 +1614,13 @@ NULL
|
||||
}
|
||||
cg->last_id = id;
|
||||
addReply(c,shared.ok);
|
||||
server.dirty++;
|
||||
} else if (!strcasecmp(opt,"DESTROY") && c->argc == 4) {
|
||||
if (cg) {
|
||||
raxRemove(s->cgroups,(unsigned char*)grpname,sdslen(grpname),NULL);
|
||||
streamFreeCG(cg);
|
||||
addReply(c,shared.cone);
|
||||
server.dirty++;
|
||||
} else {
|
||||
addReply(c,shared.czero);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user