提交 7bfb4e0f 编写于 作者: M Minglei Jin

fix(tsdb/del): continue committing fileset if more del left

上级 1bce96ea
...@@ -189,6 +189,10 @@ static int32_t tsdbCommitTombData(SCommitter2 *committer) { ...@@ -189,6 +189,10 @@ static int32_t tsdbCommitTombData(SCommitter2 *committer) {
committer->ctx->maxKey = committer->ctx->maxKey + 1; committer->ctx->maxKey = committer->ctx->maxKey + 1;
} }
if (record->ekey > committer->ctx->maxKey) {
committer->ctx->nextKey = committer->ctx->maxKey;
}
record->skey = TMAX(record->skey, committer->ctx->minKey); record->skey = TMAX(record->skey, committer->ctx->minKey);
record->ekey = TMIN(record->ekey, committer->ctx->maxKey); record->ekey = TMIN(record->ekey, committer->ctx->maxKey);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册