提交 dd32f12f 编写于 作者: M Minglei Jin

tsdb/commit2: reset nextKey to max to stop commit

上级 992d623a
......@@ -164,6 +164,8 @@ static int32_t tsdbCommitTombData(SCommitter2 *committer) {
if (committer->ctx->fset == NULL && !committer->ctx->hasTSData) {
if (committer->ctx->maxKey < committer->ctx->maxDelKey) {
committer->ctx->nextKey = committer->ctx->maxKey + 1;
} else {
committer->ctx->nextKey = TSKEY_MAX;
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册