Skip to content
代码片段 群组 项目
派生自 oss-mirrors / ICV / kafka
源项目有可见性限制。
用户头像
Gardner Vickers 编辑于
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.
2b5fccf1
历史
名称 最后提交 最后更新