minor changes
This commit is contained in:
parent
88d7b970ae
commit
248cdbbc2a
|
@ -697,8 +697,9 @@ typedef struct {
|
||||||
} SStatusRsp;
|
} SStatusRsp;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t port;
|
int32_t id;
|
||||||
char fqdn[TSDB_FQDN_LEN];
|
uint16_t port; // node sync Port
|
||||||
|
char fqdn[TSDB_FQDN_LEN]; // node FQDN
|
||||||
} SReplica;
|
} SReplica;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -719,8 +720,8 @@ typedef struct {
|
||||||
int8_t cacheLastRow;
|
int8_t cacheLastRow;
|
||||||
int8_t update;
|
int8_t update;
|
||||||
int8_t walLevel;
|
int8_t walLevel;
|
||||||
int8_t replica;
|
|
||||||
int8_t quorum;
|
int8_t quorum;
|
||||||
|
int8_t replica;
|
||||||
int8_t selfIndex;
|
int8_t selfIndex;
|
||||||
SReplica replicas[TSDB_MAX_REPLICA];
|
SReplica replicas[TSDB_MAX_REPLICA];
|
||||||
} SCreateVnodeMsg, SAlterVnodeMsg;
|
} SCreateVnodeMsg, SAlterVnodeMsg;
|
||||||
|
|
|
@ -26,6 +26,7 @@ typedef struct SMnodeMsg SMnodeMsg;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int8_t replica;
|
int8_t replica;
|
||||||
|
int8_t selfIndex;
|
||||||
SReplica replicas[TSDB_MAX_REPLICA];
|
SReplica replicas[TSDB_MAX_REPLICA];
|
||||||
} SMnodeCfg;
|
} SMnodeCfg;
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ typedef struct {
|
||||||
int8_t update;
|
int8_t update;
|
||||||
int8_t quorum;
|
int8_t quorum;
|
||||||
int8_t replica;
|
int8_t replica;
|
||||||
|
int8_t selfIndex;
|
||||||
int8_t walLevel;
|
int8_t walLevel;
|
||||||
int32_t fsyncPeriod; // millisecond
|
int32_t fsyncPeriod; // millisecond
|
||||||
SReplica replicas[TSDB_MAX_REPLICA];
|
SReplica replicas[TSDB_MAX_REPLICA];
|
||||||
|
|
Loading…
Reference in New Issue