diff options
author | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2019-11-22 15:45:21 +0800 |
---|---|---|
committer | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2019-11-22 15:45:21 +0800 |
commit | c73d70fb4654f1758c73e4d23e278e1c01575ffa (patch) | |
tree | dbf729fc528231de55662fbc4e3d39bd758e5466 /src/scripting.c | |
parent | 37a10cef028f0ed16e6768dabdd3ffa56fc77761 (diff) | |
download | redis-c73d70fb4654f1758c73e4d23e278e1c01575ffa.tar.gz |
Propagation: propagate EXEC directly in lua script
Diffstat (limited to 'src/scripting.c')
-rw-r--r-- | src/scripting.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scripting.c b/src/scripting.c index dc2510f98..b1eaae12f 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) { if (server.lua_replicate_commands) { preventCommandPropagation(c); if (server.lua_multi_emitted) { - alsoPropagate(server.execCommand,c->db->id,&shared.exec,1, - PROPAGATE_AOF|PROPAGATE_REPL); + execCommandPropagateExec(c); } } |