mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
Lua script selective replication WIP.
This commit is contained in:
@ -933,7 +933,7 @@ struct redisServer {
|
||||
int cluster_migration_barrier; /* Cluster replicas migration barrier. */
|
||||
int cluster_slave_validity_factor; /* Slave max data age for failover. */
|
||||
int cluster_require_full_coverage; /* If true, put the cluster down if
|
||||
there is at least an uncovered slot. */
|
||||
there is at least an uncovered slot.*/
|
||||
/* Scripting */
|
||||
lua_State *lua; /* The Lua interpreter. We use just one for all clients */
|
||||
client *lua_client; /* The "fake client" to query Redis from Lua */
|
||||
@ -947,6 +947,7 @@ struct redisServer {
|
||||
execution of the current script. */
|
||||
int lua_replicate_commands; /* True if we are doing single commands repl. */
|
||||
int lua_multi_emitted;/* True if we already proagated MULTI. */
|
||||
int lua_repl; /* Script replication flags for redis.set_repl(). */
|
||||
int lua_timedout; /* True if we reached the time limit for script
|
||||
execution. */
|
||||
int lua_kill; /* Kill the script if true. */
|
||||
|
Reference in New Issue
Block a user