This commit is contained in:
Hongze Cheng 2020-11-25 20:45:16 +08:00
parent 1e914e724b
commit c33240b040
1 changed files with 1 additions and 1 deletions

View File

@ -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 ===========================================