Merge pull request #15566 from taosdata/fix/TD-17958

fix: fix rsma when inserting historical data wal version got overwritten by unrelated SSDatablocks got from stream scan
This commit is contained in:
Cary Xu 2022-07-29 21:39:44 +08:00 committed by GitHub
commit 29c94d17b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1596,7 +1596,7 @@ static SSDataBlock* doStreamIntervalAgg(SOperatorInfo* pOperator) {
continue;
}
if (pBlock->info.type == STREAM_NORMAL) {
if (pBlock->info.type == STREAM_NORMAL && pBlock->info.version != 0) {
// set input version
pTaskInfo->version = pBlock->info.version;
}