enh: not to write confirm after balance vgroup leader

This commit is contained in:
Benguang Zhao 2024-04-02 18:20:26 +08:00
parent 02528eaa48
commit 018d388278
1 changed files with 0 additions and 5 deletions

View File

@ -2342,11 +2342,6 @@ int32_t mndAddVgroupBalanceToTrans(SMnode *pMnode, SVgObj *pVgroup, STrans *pTra
return -1;
}
if (mndAddAlterVnodeConfirmAction(pMnode, pTrans, pDb, pVgroup) != 0) {
mError("trans:%d, vgid:%d failed to be balanced to dnode:%d", pTrans->id, vgid, dnodeId);
return -1;
}
mndReleaseDb(pMnode, pDb);
} else {
mInfo("trans:%d, vgid:%d cant be balanced to dnode:%d, exist:%d, online:%d", pTrans->id, vgid, dnodeId, exist,