Propagation: propagate EXEC directly in lua script

This commit is contained in:
zhaozhao.zz 2019-11-22 15:45:21 +08:00
parent 37a10cef02
commit c73d70fb46

View File

@ -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);
} }
} }