From 5f9c7e9a7db26022d9d8d21d83a89f2090ec6b30 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Wed, 22 Mar 2023 20:14:19 +0800 Subject: [PATCH] fix:[TS-2961] consume error change from snapshot to wal for taosx --- source/dnode/vnode/src/tq/tq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tq/tq.c b/source/dnode/vnode/src/tq/tq.c index c4800e5051..f48b57b74b 100644 --- a/source/dnode/vnode/src/tq/tq.c +++ b/source/dnode/vnode/src/tq/tq.c @@ -593,7 +593,9 @@ static int32_t extractDataForMq(STQ* pTq, STqHandle* pHandle, const SMqPollReq* ",version:%" PRId64, consumerId, pHandle->subKey, vgId, taosxRsp.blockNum, taosxRsp.rspOffset.type, taosxRsp.rspOffset.uid, taosxRsp.rspOffset.version); - } else { + } + + if (offset.type == TMQ_OFFSET__LOG) { // if (offset.type == TMQ_OFFSET__LOG) { int64_t fetchVer = offset.version + 1; -- GitLab