Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format

This commit is contained in:
Hongze Cheng 2022-10-13 11:49:53 +08:00
commit 98f3f183c6
1 changed files with 3 additions and 1 deletions

View File

@ -239,7 +239,9 @@ void mndGetMnodeEpSet(SMnode *pMnode, SEpSet *pEpSet) {
pEpSet->inUse = (pEpSet->numOfEps + 1) % totalMnodes;
}
}
if (pObj->pDnode != NULL) {
addEpIntoEpSet(pEpSet, pObj->pDnode->fqdn, pObj->pDnode->port);
}
sdbRelease(pSdb, pObj);
}