fix compile
This commit is contained in:
parent
b59a82225e
commit
f2bc000482
|
@ -28,9 +28,6 @@ void mndCleanupSubscribe(SMnode *pMnode);
|
|||
SMqSubscribeObj *mndAcquireSubscribe(SMnode *pMnode, char *CGroup, char *topicName);
|
||||
void mndReleaseSubscribe(SMnode *pMnode, SMqSubscribeObj *pSub);
|
||||
|
||||
SSdbRaw *mndSubscribeActionEncode(SMqSubscribeObj *pSub);
|
||||
SSdbRow *mndSubscribeActionDecode(SSdbRaw *pRaw);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -377,9 +377,9 @@ static int32_t mndProcessDoRebalanceMsg(SMnodeMsg *pMsg) {
|
|||
|
||||
// send msg to vnode
|
||||
// log rebalance statistics
|
||||
/*SSdbRaw *pSubRaw = mndSubscribeActionEncode(pSub);*/
|
||||
/*sdbSetRawStatus(pSubRaw, SDB_STATUS_READY);*/
|
||||
/*mndTransAppendRedolog(pTrans, pSubRaw);*/
|
||||
SSdbRaw *pSubRaw = mndSubActionEncode(pSub);
|
||||
sdbSetRawStatus(pSubRaw, SDB_STATUS_READY);
|
||||
mndTransAppendRedolog(pTrans, pSubRaw);
|
||||
}
|
||||
mndReleaseSubscribe(pMnode, pSub);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue