feature/qnode
This commit is contained in:
parent
5daa79afef
commit
da3e2329da
|
@ -824,7 +824,7 @@ static void mndBuildDBVgroupInfo(SDbObj *pDb, SMnode *pMnode, SVgroupInfo *vgLis
|
||||||
if (pIter == NULL) break;
|
if (pIter == NULL) break;
|
||||||
|
|
||||||
if (pVgroup->dbUid == pDb->uid) {
|
if (pVgroup->dbUid == pDb->uid) {
|
||||||
SVgroupInfo *pInfo = &pRsp->vgroupInfo[vindex];
|
SVgroupInfo *pInfo = &vgList[vindex];
|
||||||
pInfo->vgId = htonl(pVgroup->vgId);
|
pInfo->vgId = htonl(pVgroup->vgId);
|
||||||
pInfo->hashBegin = htonl(pVgroup->hashBegin);
|
pInfo->hashBegin = htonl(pVgroup->hashBegin);
|
||||||
pInfo->hashEnd = htonl(pVgroup->hashEnd);
|
pInfo->hashEnd = htonl(pVgroup->hashEnd);
|
||||||
|
@ -1253,4 +1253,5 @@ static int32_t mndRetrieveDbs(SMnodeMsg *pReq, SShowObj *pShow, char *data, int3
|
||||||
|
|
||||||
static void mndCancelGetNextDb(SMnode *pMnode, void *pIter) {
|
static void mndCancelGetNextDb(SMnode *pMnode, void *pIter) {
|
||||||
SSdb *pSdb = pMnode->pSdb;
|
SSdb *pSdb = pMnode->pSdb;
|
||||||
sdbCancelFetch(pSdb,
|
sdbCancelFetch(pSdb, pIter);
|
||||||
|
}
|
Loading…
Reference in New Issue