mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 20:46:31 +00:00
Cluster: added signature + version in bus packets.
This commit is contained in:
@ -195,6 +195,9 @@ union clusterMsgData {
|
||||
|
||||
|
||||
typedef struct {
|
||||
char sig[4]; /* Siganture "RCib" (Redis Cluster internal bus). */
|
||||
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. */
|
||||
|
Reference in New Issue
Block a user