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

refactor

上级 1e914e72
...@@ -81,8 +81,8 @@ void tsdbCloseFileH(STsdbRepo *pRepo) { ...@@ -81,8 +81,8 @@ void tsdbCloseFileH(STsdbRepo *pRepo) {
for (int type = 0; type < TSDB_FILE_TYPE_MAX; type++) { for (int type = 0; type < TSDB_FILE_TYPE_MAX; type++) {
tsdbCloseFile(&(pFGroup->files[type])); tsdbCloseFile(&(pFGroup->files[type]));
} }
tfsDecDiskFile(pFGroup->files[0].file.level, pFGroup->files[0].file.level, TSDB_FILE_TYPE_MAX);
} }
// TODO: delete each files
} }
// SFileGroup =========================================== // SFileGroup ===========================================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册