diff --git a/src/tsdb/src/tsdbDelete.c b/src/tsdb/src/tsdbDelete.c index 180f577db2e87b0950a9c2ac20ce41e1a42a778b..50931b00f1bc0910377fb2bf0c6a16d461c93b5e 100644 --- a/src/tsdb/src/tsdbDelete.c +++ b/src/tsdb/src/tsdbDelete.c @@ -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 *));