enh: rsma delete error code

This commit is contained in:
kailixu 2023-11-09 20:16:29 +08:00
parent ff3621f382
commit 7288b0fc77
2 changed files with 2 additions and 2 deletions

View File

@ -997,7 +997,7 @@ int32_t tdProcessRSmaDelete(SSma *pSma, int64_t version, void *pReq, void *pMsg,
}
return TSDB_CODE_SUCCESS;
_err:
return TSDB_CODE_FAILED;
return terrno;
}
/**

View File

@ -1947,7 +1947,7 @@ static int32_t vnodeProcessDeleteReq(SVnode *pVnode, int64_t ver, void *pReq, in
if (code) goto _err;
}
tdProcessRSmaDelete(pVnode->pSma, ver, pRes, pReq, len);
code = tdProcessRSmaDelete(pVnode->pSma, ver, pRes, pReq, len);
tDecoderClear(pCoder);
taosArrayDestroy(pRes->uidList);