提交 bf8b9e74 编写于 作者: H Hongze Cheng

more code

上级 b81f1c7b
......@@ -22,7 +22,7 @@
extern "C" {
#endif
#define TSDB_STT_FILE_LEVEL_MAX 3
typedef struct SSttLevel SSttLevel;
typedef enum {
TSDB_FOP_EXTEND = -2,
......@@ -39,6 +39,13 @@ struct SFileOp {
struct STFile nState; // new file state
};
struct SSttLevel {
int32_t level;
int32_t nStt;
SSttLevel *pNext;
struct STFile *fSttList;
};
struct SFileSet {
int32_t fid;
int64_t nextid;
......@@ -46,11 +53,7 @@ struct SFileSet {
struct STFile *fData; // .data
struct STFile *fSma; // .sma
struct STFile *fTomb; // .tomb
struct {
int32_t level;
int32_t nFile;
struct STFile *fStt;
} lStt[TSDB_STT_FILE_LEVEL_MAX];
SSttLevel *sttLevelList;
};
int32_t tsdbFileSetCreate(int32_t fid, struct SFileSet **ppSet);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册