]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
redis-trib: reshard command work in progress
[redis.git] / src / redis.h
index 032602641144d78a58eef992d0ab421c8cf54193..ec982ee930fcf95c7992237bb1e43a426e5a4583 100644 (file)
@@ -623,6 +623,8 @@ struct redisServer {
     dict *lua_scripts; /* A dictionary of SHA1 -> Lua scripts */
     long long lua_time_limit;
     long long lua_time_start;
+    int lua_random_dirty; /* True if a random command was called during the
+                             exection of the current script. */
 };
 
 typedef struct pubsubPattern {