提交 3f58bc55 编写于 作者: D dapan1121

fix: group cache last block index issue

上级 58c5d5e7
......@@ -580,7 +580,7 @@ static int32_t getBlkFromSessionCacheImpl(struct SOperatorInfo* pOperator, int64
int64_t* pIdx = taosArrayGet(pBatchList->pBlkList, 0);
taosRUnLockLatch(&pBatchList->lock);
code = retrieveBlkFromBufCache(pGCache, pSession->pGroupData, sessionId, *pIdx, &pSession->nextOffset, ppRes);
pSession->lastBlkId = *pIdx;
pSession->lastBlkId = 0;
return code;
}
} else if (pSession->lastBlkId < blkNum) {
......
......@@ -797,7 +797,8 @@ static int32_t createTableListInfoFromParam(SOperatorInfo* pOperator) {
return TSDB_CODE_INVALID_PARA;
}
qError("add total %d dynamic tables to scan, tableSeq:%d, exist num:%" PRId64, num, pParam->tableSeq, (int64_t)taosArrayGetSize(pListInfo->pTableList));
qError("vgId:%d add total %d dynamic tables to scan, tableSeq:%d, exist num:%" PRId64,
pTaskInfo->id.vgId, num, pParam->tableSeq, (int64_t)taosArrayGetSize(pListInfo->pTableList));
if (pParam->tableSeq) {
pListInfo->oneTableForEachGroup = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册