From 3083189f4d9fc8906157b33c0d206637eca87c2b Mon Sep 17 00:00:00 2001 From: kailixu Date: Mon, 25 Sep 2023 12:35:18 +0800 Subject: [PATCH] grant: enable update cluster info --- source/dnode/mgmt/mgmt_dnode/src/dmWorker.c | 2 -- source/dnode/mnode/impl/src/mndDnode.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c index 5b2bd0783a..4cd7a9f951 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c @@ -294,9 +294,7 @@ static void dmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) { code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg); break; case TDMT_MND_GRANT_NOTIFY: -#ifdef MAKE_JENKINS_HAPPY code = dmProcessGrantNotify(NULL, pMsg); -#endif break; default: terrno = TSDB_CODE_MSG_NOT_PROCESSED; diff --git a/source/dnode/mnode/impl/src/mndDnode.c b/source/dnode/mnode/impl/src/mndDnode.c index a2c7f7b5cf..95a8f873cb 100644 --- a/source/dnode/mnode/impl/src/mndDnode.c +++ b/source/dnode/mnode/impl/src/mndDnode.c @@ -688,9 +688,7 @@ static int32_t mndProcessStatusReq(SRpcMsg *pReq) { _OVER: mndReleaseDnode(pMnode, pDnode); taosArrayDestroy(statusReq.pVloads); -#ifdef MAKE_JENKINS_HAPPY mndUpdClusterInfo(pReq); -#endif return code; } @@ -723,9 +721,7 @@ static int32_t mndProcessNotifyReq(SRpcMsg *pReq) { } } _OVER: -#ifdef MAKE_JENKINS_HAPPY mndUpdClusterInfo(pReq); -#endif tFreeSNotifyReq(¬ifyReq); return code; }