fix(tmq): skip log

This commit is contained in:
Liu Jicong 2022-05-31 17:02:43 +08:00
parent 0fdb225d7e
commit 4169eb559a
1 changed files with 2 additions and 6 deletions

View File

@ -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++;
}
}