fix(tsdb/del): reset next key to del record's ekey
This commit is contained in:
parent
7bfb4e0f88
commit
fb860726de
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue