more code
This commit is contained in:
parent
ec7cb5f217
commit
f39b8a0652
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue