Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
923e63e5
Commit
923e63e5
authored
Jun 12, 2018
by
antirez
Browse files
Streams: increment dirty counter for XGROUP SETID/DESTROY.
See issue #5005 comments.
parent
cec404f0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
923e63e5
...
...
@@ -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);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment