Propagation: propagate EXEC directly in lua script
This commit is contained in:
parent
37a10cef02
commit
c73d70fb46
@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) {
|
|||||||
if (server.lua_replicate_commands) {
|
if (server.lua_replicate_commands) {
|
||||||
preventCommandPropagation(c);
|
preventCommandPropagation(c);
|
||||||
if (server.lua_multi_emitted) {
|
if (server.lua_multi_emitted) {
|
||||||
alsoPropagate(server.execCommand,c->db->id,&shared.exec,1,
|
execCommandPropagateExec(c);
|
||||||
PROPAGATE_AOF|PROPAGATE_REPL);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user