Commit c73d70fb authored by zhaozhao.zz's avatar zhaozhao.zz
Browse files

Propagation: propagate EXEC directly in lua script

parent 37a10cef
...@@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) { ...@@ -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);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment