centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file.

This commit is contained in:
antirez
2011-03-30 17:41:13 +02:00
parent 4b72c5617f
commit ef21ab960e
3 changed files with 38 additions and 11 deletions

View File

@ -411,6 +411,7 @@ struct clusterNode {
typedef struct clusterNode clusterNode;
typedef struct {
char *configfile;
clusterNode *myself; /* This node */
int state; /* REDIS_CLUSTER_OK, REDIS_CLUSTER_FAIL, ... */
int node_timeout;