Streams: now we can just use alsoPropagate().

Becuase of previous changes, alsoPropagate() will just do propagate()
when called out of the context of a command execution. For instance when
called from blocked.c because of blocking streams operations.
This commit is contained in:
antirez 2020-04-17 16:32:29 +02:00
parent 211e985e9a
commit 7ca1846ab6
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ void streamPropagateXCLAIM(client *c, robj *key, streamCG *group, robj *groupnam
argv[11] = createStringObject("JUSTID",6);
argv[12] = createStringObject("LASTID",6);
argv[13] = createObjectFromStreamID(&group->last_id);
propagate(server.xclaimCommand,c->db->id,argv,14,PROPAGATE_AOF|PROPAGATE_REPL);
alsoPropagate(server.xclaimCommand,c->db->id,argv,14,PROPAGATE_AOF|PROPAGATE_REPL);
decrRefCount(argv[0]);
decrRefCount(argv[3]);
decrRefCount(argv[4]);