fix(stream): update the current processing version.

This commit is contained in:
Haojun Liao 2023-10-07 09:07:44 +08:00
parent f0c5b5a970
commit c5997bee5b
1 changed files with 1 additions and 1 deletions

View File

@ -900,7 +900,7 @@ void metaHbToMnode(void* param, void* tmrId) {
// entry.outputRate = entry.outputQUsed*100.0/STREAM_TASK_QUEUE_CAPACITY_IN_SIZE; // entry.outputRate = entry.outputQUsed*100.0/STREAM_TASK_QUEUE_CAPACITY_IN_SIZE;
if ((*pTask)->exec.pWalReader != NULL) { if ((*pTask)->exec.pWalReader != NULL) {
entry.offset = walReaderGetCurrentVer((*pTask)->exec.pWalReader); entry.offset = (*pTask)->chkInfo.nextProcessVer;
walReaderValidVersionRange((*pTask)->exec.pWalReader, &entry.verStart, &entry.verEnd); walReaderValidVersionRange((*pTask)->exec.pWalReader, &entry.verStart, &entry.verEnd);
} }