grant: enable update cluster info
This commit is contained in:
parent
7b4ef6df96
commit
3083189f4d
|
@ -294,9 +294,7 @@ static void dmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) {
|
||||||
code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg);
|
code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg);
|
||||||
break;
|
break;
|
||||||
case TDMT_MND_GRANT_NOTIFY:
|
case TDMT_MND_GRANT_NOTIFY:
|
||||||
#ifdef MAKE_JENKINS_HAPPY
|
|
||||||
code = dmProcessGrantNotify(NULL, pMsg);
|
code = dmProcessGrantNotify(NULL, pMsg);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
terrno = TSDB_CODE_MSG_NOT_PROCESSED;
|
terrno = TSDB_CODE_MSG_NOT_PROCESSED;
|
||||||
|
|
|
@ -688,9 +688,7 @@ static int32_t mndProcessStatusReq(SRpcMsg *pReq) {
|
||||||
_OVER:
|
_OVER:
|
||||||
mndReleaseDnode(pMnode, pDnode);
|
mndReleaseDnode(pMnode, pDnode);
|
||||||
taosArrayDestroy(statusReq.pVloads);
|
taosArrayDestroy(statusReq.pVloads);
|
||||||
#ifdef MAKE_JENKINS_HAPPY
|
|
||||||
mndUpdClusterInfo(pReq);
|
mndUpdClusterInfo(pReq);
|
||||||
#endif
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -723,9 +721,7 @@ static int32_t mndProcessNotifyReq(SRpcMsg *pReq) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_OVER:
|
_OVER:
|
||||||
#ifdef MAKE_JENKINS_HAPPY
|
|
||||||
mndUpdClusterInfo(pReq);
|
mndUpdClusterInfo(pReq);
|
||||||
#endif
|
|
||||||
tFreeSNotifyReq(¬ifyReq);
|
tFreeSNotifyReq(¬ifyReq);
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue