Merge pull request #22190 from taosdata/fix/TD-25315

fix(tsdb/del): reset next key to del record's ekey
This commit is contained in:
wade zhang 2023-07-26 10:23:01 +08:00 committed by GitHub
commit d8fd5b9394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ static int32_t tsdbCommitTombData(SCommitter2 *committer) {
}
if (record->ekey > committer->ctx->maxKey) {
committer->ctx->nextKey = committer->ctx->maxKey;
committer->ctx->nextKey = record->ekey;
}
record->skey = TMAX(record->skey, committer->ctx->minKey);