fix: update assert info

This commit is contained in:
Shengliang Guan 2023-01-03 20:12:25 +08:00
parent 1dbb9db552
commit 9df158e1d9
1 changed files with 4 additions and 2 deletions

View File

@ -348,8 +348,10 @@ static int32_t mndDoRebalance(SMnode *pMnode, const SMqRebInputObj *pInput, SMqR
while (taosArrayGetSize(pConsumerEp->vgs) < minVgCnt) {
// iter hash and find one vg
pRemovedIter = taosHashIterate(pHash, pRemovedIter);
mError("sub:%s, removed iter is null", sub);
continue;
if (pRemovedIter == NULL) {
mError("sub:%s, removed iter is null", sub);
continue;
}
pRebVg = (SMqRebOutputVg *)pRemovedIter;
// push