mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +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;
|
cg->last_id = id;
|
||||||
addReply(c,shared.ok);
|
addReply(c,shared.ok);
|
||||||
|
server.dirty++;
|
||||||
} else if (!strcasecmp(opt,"DESTROY") && c->argc == 4) {
|
} else if (!strcasecmp(opt,"DESTROY") && c->argc == 4) {
|
||||||
if (cg) {
|
if (cg) {
|
||||||
raxRemove(s->cgroups,(unsigned char*)grpname,sdslen(grpname),NULL);
|
raxRemove(s->cgroups,(unsigned char*)grpname,sdslen(grpname),NULL);
|
||||||
streamFreeCG(cg);
|
streamFreeCG(cg);
|
||||||
addReply(c,shared.cone);
|
addReply(c,shared.cone);
|
||||||
|
server.dirty++;
|
||||||
} else {
|
} else {
|
||||||
addReply(c,shared.czero);
|
addReply(c,shared.czero);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user