Cluster: clusterReadHandler() fixed to work with new message header.

This commit is contained in:
antirez
2014-02-10 16:27:33 +01:00
parent ad85f520f8
commit 6987a95952
2 changed files with 13 additions and 11 deletions

View File

@ -196,9 +196,9 @@ union clusterMsgData {
typedef struct {
char sig[4]; /* Siganture "RCmb" (Redis Cluster message bus). */
uint32_t totlen; /* Total length of this message */
uint16_t ver; /* Protocol version, currently set to 0. */
uint16_t notused0; /* 2 bytes not used. */
uint32_t totlen; /* Total length of this message */
uint16_t type; /* Message type */
uint16_t count; /* Only used for some kind of messages. */
uint64_t currentEpoch; /* The epoch accordingly to the sending node. */