fix(tmq): skip log
This commit is contained in:
parent
0fdb225d7e
commit
4169eb559a
|
@ -441,14 +441,8 @@ int32_t tqProcessPollReq(STQ* pTq, SRpcMsg* pMsg, int32_t workerId) {
|
|||
break;
|
||||
}
|
||||
|
||||
tqDebug("tmq poll vg %d: offset %ld msgType %d", pTq->pVnode->config.vgId, fetchOffset,
|
||||
pHeadWithCkSum->head.msgType);
|
||||
|
||||
SWalReadHead* pHead = &pHeadWithCkSum->head;
|
||||
|
||||
tqDebug("tmq poll vg %d: offset %ld msgType %d", pTq->pVnode->config.vgId, fetchOffset,
|
||||
pHeadWithCkSum->head.msgType);
|
||||
|
||||
#if 0
|
||||
SWalReadHead* pHead;
|
||||
if (walReadWithHandle_s(pExec->pWalReader, fetchOffset, &pHead) < 0) {
|
||||
|
@ -499,6 +493,8 @@ int32_t tqProcessPollReq(STQ* pTq, SRpcMsg* pMsg, int32_t workerId) {
|
|||
// TODO continue scan until meeting batch requirement
|
||||
if (rsp.blockNum > 0 /* threshold */) {
|
||||
break;
|
||||
} else {
|
||||
fetchOffset++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue