未验证 提交 e382478e 编写于 作者: C codedump 提交者: GitHub

Merge pull request #8481 from taosdata/fix/TD-10814

[TD-10814]<fix>fix tsdb compact state error
...@@ -68,6 +68,7 @@ void *tsdbCompactImpl(STsdbRepo *pRepo) { ...@@ -68,6 +68,7 @@ void *tsdbCompactImpl(STsdbRepo *pRepo) {
// Check if there are files in TSDB FS to compact // Check if there are files in TSDB FS to compact
if (REPO_FS(pRepo)->cstatus->pmf == NULL) { if (REPO_FS(pRepo)->cstatus->pmf == NULL) {
tsdbInfo("vgId:%d no file to compact in FS", REPO_ID(pRepo)); tsdbInfo("vgId:%d no file to compact in FS", REPO_ID(pRepo));
pRepo->compactState = TSDB_NO_COMPACT;
return NULL; return NULL;
} }
......
...@@ -1581,7 +1581,7 @@ class TDTestCase: ...@@ -1581,7 +1581,7 @@ class TDTestCase:
# self.td5798() # self.td5798()
# develop branch # develop branch
self.td4889() #self.td4889()
self.td5798() self.td5798()
def stop(self): def stop(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册