Skip to content
代码片段 群组 项目
未验证 提交 2b5fccf1 编辑于 作者: Gardner Vickers's avatar Gardner Vickers 提交者: GitHub
浏览文件

KSTORAGE-725: Exclude segments where the high offset is lower than the...

KSTORAGE-725: Exclude segments where the high offset is lower than the lowerBoundOffset for tiering. (#1796)

* KSTORAGE-725: Only qualify segments where the last offset is larger

than the upperBoundOffset for tiering.

When dealing with topics which were previously compacted and have
been converted to non compacted topics, holes in the log can cause
MergedLog::localLogSegments to return segments for which the largest
offset in the segment is less than the lowerBoundOffset.

This PR adds an additional filter to the set of candidate segments
for tiering which enforces that segments with a high offset less than
the lower bound offset are excluded from tiering.
上级 001ceb88
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册