diff options
author | antirez <antirez@gmail.com> | 2013-04-09 11:07:25 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-04-09 11:07:25 +0200 |
commit | ef4f25ff6ec9749549b009b515a272ebd0710707 (patch) | |
tree | fcefc5dae8ece47ccdc3b70c25d25bdec13ba47a /src/redis.h | |
parent | f09b2508f42fcaa14b0fb36a013747611ee2159d (diff) | |
download | redis-ef4f25ff6ec9749549b009b515a272ebd0710707.tar.gz |
Cluster: configdigest field no longer used. Removed.
Diffstat (limited to 'src/redis.h')
-rw-r--r-- | src/redis.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/redis.h b/src/redis.h index 254ef3712..54286990c 100644 --- a/src/redis.h +++ b/src/redis.h @@ -572,8 +572,6 @@ struct clusterNode { time_t ping_sent; /* Unix time we sent latest ping */ time_t pong_received; /* Unix time we received the pong */ time_t fail_time; /* Unix time when FAIL flag was set */ - char *configdigest; /* Configuration digest of this node */ - time_t configdigest_ts; /* Configuration digest timestamp */ char ip[16]; /* Latest known IP address of this node */ int port; /* Latest known port of this node */ clusterLink *link; /* TCP/IP link with this node */ @@ -657,11 +655,11 @@ typedef struct { char sender[REDIS_CLUSTER_NAMELEN]; /* Name of the sender node */ unsigned char myslots[REDIS_CLUSTER_SLOTS/8]; char slaveof[REDIS_CLUSTER_NAMELEN]; - char configdigest[32]; + char notused1[32]; /* 32 bytes reserved for future usage. */ uint16_t port; /* Sender TCP base port */ uint16_t flags; /* Sender node flags */ unsigned char state; /* Cluster state from the POV of the sender */ - unsigned char notused[3]; /* Reserved for future use. For alignment. */ + unsigned char notused2[3]; /* Reserved for future use. For alignment. */ union clusterMsgData data; } clusterMsg; |