diff --git a/src/mnode/src/mnodeDnode.c b/src/mnode/src/mnodeDnode.c index bd95b0cc515ca48d41330cbcaa77264132d43c52..80d734130c2fd2541b8f58fb7ac222fa53b9c2e6 100644 --- a/src/mnode/src/mnodeDnode.c +++ b/src/mnode/src/mnodeDnode.c @@ -365,8 +365,10 @@ static int32_t mnodeProcessDnodeStatusMsg(SMnodeMsg *pMsg) { mnodeUpdateVgroupStatus(pVgroup, pDnode, pVload); pAccess->vgId = htonl(pVload->vgId); pAccess->accessState = pVgroup->accessState; + pAccess++; mnodeDecVgroupRef(pVgroup); } + } if (pDnode->status == TAOS_DN_STATUS_OFFLINE) {