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

more code

上级 ec7cb5f2
......@@ -73,7 +73,7 @@ static int32_t open_committer_writer(SCommitter *pCommitter) {
config.file.fid = pCommitter->fid;
config.file.cid = pCommitter->eid;
config.file.size = 0;
config.file.stt.lvl = 0;
config.file.stt.level = 0;
config.file.stt.nseg = 0;
tsdbTFileInit(pTsdb, &config.file);
......
......@@ -261,9 +261,9 @@ static int32_t commit_edit(STFileSystem *fs) {
current_fname(fs->pTsdb, current, TSDB_FCURRENT);
if (fs->etype == TSDB_FEDIT_COMMIT) {
current_fname(fs->pTsdb, current, TSDB_FCURRENT_C);
current_fname(fs->pTsdb, current_t, TSDB_FCURRENT_C);
} else if (fs->etype == TSDB_FEDIT_MERGE) {
current_fname(fs->pTsdb, current, TSDB_FCURRENT_M);
current_fname(fs->pTsdb, current_t, TSDB_FCURRENT_M);
} else {
ASSERT(0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册