“e96879c202263c16e3608d335e3745b8e1d846f2”上不存在“projects/klipper3d/imports.yml”
提交 248cdbbc 编写于 作者: S Shengliang Guan

minor changes

上级 88d7b970
...@@ -697,8 +697,9 @@ typedef struct { ...@@ -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 { ...@@ -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; ...@@ -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;
......
...@@ -27,23 +27,24 @@ extern "C" { ...@@ -27,23 +27,24 @@ extern "C" {
typedef struct SVnode SVnode; typedef struct SVnode SVnode;
typedef struct { typedef struct {
char db[TSDB_FULL_DB_NAME_LEN]; char db[TSDB_FULL_DB_NAME_LEN];
int32_t cacheBlockSize; // MB int32_t cacheBlockSize; // MB
int32_t totalBlocks; int32_t totalBlocks;
int32_t daysPerFile; int32_t daysPerFile;
int32_t daysToKeep0; int32_t daysToKeep0;
int32_t daysToKeep1; int32_t daysToKeep1;
int32_t daysToKeep2; int32_t daysToKeep2;
int32_t minRowsPerFileBlock; int32_t minRowsPerFileBlock;
int32_t maxRowsPerFileBlock; int32_t maxRowsPerFileBlock;
int8_t precision; // time resolution int8_t precision; // time resolution
int8_t compression; int8_t compression;
int8_t cacheLastRow; int8_t cacheLastRow;
int8_t update; int8_t update;
int8_t quorum; int8_t quorum;
int8_t replica; int8_t replica;
int8_t walLevel; int8_t selfIndex;
int32_t fsyncPeriod; // millisecond int8_t walLevel;
int32_t fsyncPeriod; // millisecond
SReplica replicas[TSDB_MAX_REPLICA]; SReplica replicas[TSDB_MAX_REPLICA];
} SVnodeCfg; } SVnodeCfg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册