fix compile error

This commit is contained in:
Liu Jicong 2021-10-26 10:21:40 +08:00
parent e4210a8bf6
commit f151c1bc0c
1 changed files with 3 additions and 4 deletions

View File

@ -21,9 +21,8 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "dnodeTrans.h" #include "dnodeTrans.h"
#include "dnodeMain.h" #include "dnodeEps.h"
#include "dnodeMnodeEps.h" #include "dnodeMsg.h"
#include "dnodeStatus.h"
#include "mnode.h" #include "mnode.h"
#include "vnode.h" #include "vnode.h"
@ -143,7 +142,7 @@ static void dnodeProcessPeerRsp(SRpcMsg *pMsg, SRpcEpSet *pEpSet) {
} }
if (msgType == TSDB_MSG_TYPE_DM_STATUS_RSP && pEpSet) { if (msgType == TSDB_MSG_TYPE_DM_STATUS_RSP && pEpSet) {
dnodeUpdateMnodeFromPeer(pEpSet); dnodeUpdateMnodeEps(pEpSet);
} }
RpcMsgFp fp = tsTrans.peerMsgFp[msgType]; RpcMsgFp fp = tsTrans.peerMsgFp[msgType];