Cluster: new option to work with partial slots coverage.

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

View File

@ -1451,6 +1451,7 @@ void initServerConfig(void) {
server.cluster_node_timeout = REDIS_CLUSTER_DEFAULT_NODE_TIMEOUT;
server.cluster_migration_barrier = REDIS_CLUSTER_DEFAULT_MIGRATION_BARRIER;
server.cluster_slave_validity_factor = REDIS_CLUSTER_DEFAULT_SLAVE_VALIDITY;
server.cluster_require_full_coverage = REDIS_CLUSTER_DEFAULT_REQUIRE_FULL_COVERAGE;
server.cluster_configfile = zstrdup(REDIS_DEFAULT_CLUSTER_CONFIG_FILE);
server.lua_caller = NULL;
server.lua_time_limit = REDIS_LUA_TIME_LIMIT;