Cluster: new option to work with partial slots coverage.

This commit is contained in:
antirez
2014-09-17 11:10:09 +02:00
parent a2c740ea93
commit c89afc8e5d
6 changed files with 40 additions and 6 deletions

View File

@ -858,6 +858,8 @@ struct redisServer {
struct clusterState *cluster; /* State of the cluster */
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. */
/* Scripting */
lua_State *lua; /* The Lua interpreter. We use just one for all clients */
redisClient *lua_client; /* The "fake client" to query Redis from Lua */