提交 b59a8222 编写于 作者: L Liu Jicong

fix compile

上级 91a2d7c2
......@@ -356,7 +356,7 @@ static int32_t mndProcessDoRebalanceMsg(SMnodeMsg *pMsg) {
SMqConsumerObj *pRebConsumer = mndAcquireConsumer(pMnode, pSubConsumer->consumerId);
pRebConsumer->epoch++;
SSdbRaw* pConsumerRaw = mndConsumerActionEncode(pRebConsumer);
sdbSetRawStatus(pRebConsumer, SDB_STATUS_READY);
sdbSetRawStatus(pConsumerRaw, SDB_STATUS_READY);
mndTransAppendRedolog(pTrans, pConsumerRaw);
}
}
......@@ -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 = mndSubscribeActionEncode(pSub);*/
/*sdbSetRawStatus(pSubRaw, SDB_STATUS_READY);*/
/*mndTransAppendRedolog(pTrans, pSubRaw);*/
}
mndReleaseSubscribe(pMnode, pSub);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册