mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 10:41:22 +00:00
Scripting: ability to turn on Lua commands style replication globally.
Currently this feature is only accessible via DEBUG for testing, since otherwise depending on the instance configuration a given script works or is broken, which is against the Redis philosophy.
This commit is contained in:
@ -1038,7 +1038,7 @@ void evalGenericCommand(client *c, int evalsha) {
|
||||
* is called after a random command was used. */
|
||||
server.lua_random_dirty = 0;
|
||||
server.lua_write_dirty = 0;
|
||||
server.lua_replicate_commands = 0;
|
||||
server.lua_replicate_commands = server.lua_always_replicate_commands;
|
||||
server.lua_multi_emitted = 0;
|
||||
server.lua_repl = PROPAGATE_AOF|PROPAGATE_REPL;
|
||||
|
||||
|
Reference in New Issue
Block a user