From 40b48c89806637bb50b8bee236aa1c5dee50b69d Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 18 Jun 2020 09:06:42 +0000 Subject: [PATCH] TD-353 --- src/tsdb/src/tsdbMain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tsdb/src/tsdbMain.c b/src/tsdb/src/tsdbMain.c index 75f9be6771..6c94a791fc 100644 --- a/src/tsdb/src/tsdbMain.c +++ b/src/tsdb/src/tsdbMain.c @@ -148,6 +148,8 @@ void tsdbCloseRepo(TSDB_REPO_T *repo, int toCommit) { if (toCommit) { tsdbAsyncCommit(pRepo); if (pRepo->commit) pthread_join(pRepo->commitThread, NULL); + } else { + // TODO } tsdbCloseFileH(pRepo);