fix: invalid dbuid

This commit is contained in:
Shengliang Guan 2022-07-01 18:58:17 +08:00
parent 0d41f9c8f4
commit cf3775c87c
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ int32_t mndSchedInitSubEp(SMnode* pMnode, const SMqTopicObj* pTopic, SMqSubscrib
while (1) {
pIter = sdbFetch(pSdb, SDB_VGROUP, pIter, (void**)&pVgroup);
if (pIter == NULL) break;
if (!mndVgroupInDb(pVgroup, pTopic->uid)) {
if (!mndVgroupInDb(pVgroup, pTopic->dbUid)) {
sdbRelease(pSdb, pVgroup);
continue;
}