From 4ee01d36f3ff83f7f793990f2cd92d85d99be6fe Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Wed, 15 Sep 2021 16:23:14 +0800 Subject: [PATCH] verify compact --- src/tsdb/src/tsdbRecover.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tsdb/src/tsdbRecover.c b/src/tsdb/src/tsdbRecover.c index de3a912cc3..da2dd208bb 100644 --- a/src/tsdb/src/tsdbRecover.c +++ b/src/tsdb/src/tsdbRecover.c @@ -358,6 +358,7 @@ int tsdbRefactorFS(STsdbRepo *pRepo) { tsdbDestoryRecoverH(&recoverH); if (nRemain == size) { + // all head files are not changed tsdbEndFSTxnWithError(REPO_FS(pRepo)); } else { if (pStatus != NULL) { -- GitLab