fix(tsdb/del): reset next key to del record's ekey

This commit is contained in:
Minglei Jin 2023-07-26 08:40:44 +08:00
parent 7bfb4e0f88
commit fb860726de
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) { 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); record->skey = TMAX(record->skey, committer->ctx->minKey);