fix: group cache last block index issue
This commit is contained in:
parent
58c5d5e70e
commit
3f58bc5578
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue