提交 a201f4b9 编写于 作者: A Alex Duan

fix(delete): if no file to delete then return success

上级 7b502024
......@@ -125,7 +125,7 @@ static int tsdbDeleteImplCommon(STsdbRepo *pRepo, SControlDataInfo* pCtlInfo) {
pRepo->deleteState = TSDB_NO_DELETE;
tsem_post(&(pRepo->readyToCommit));
tsdbInfo("vgId:%d :SDEL delete over, no meta or data file", REPO_ID(pRepo));
return -1;
return TSDB_CODE_SUCCESS;
}
SArray* aUpdates = taosArrayInit(10, sizeof(STable *));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册