diff --git a/src/tsdb/src/tsdbRecover.c b/src/tsdb/src/tsdbRecover.c index de3a912cc3bd973f91173d4bd41203ada73879b8..da2dd208bbea241ef2a69b38465c32d5eb0d252f 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) {