Expand description
Remote-segment admission and relative-offset arithmetic.
Functions§
- remote_
fetch_ end_ position - Compute the inclusive end of a capped remote-segment fetch.
- remote_
read_ relative_ offset - Admit a remote segment for one requested offset and derive its relative
offset for Kafka’s
u32sparse index. - remote_
time_ index_ candidate_ count - Return the length of the usable strict-predecessor prefix of a remote time index.
- tiered_
earliest_ finished_ index - Select the earliest valid finished remote segment.
- tiered_
latest_ finished_ index - Select the finished remote segment with the greatest valid inclusive end.
- tiered_
owning_ epoch_ index - Select the valid leader epoch whose start is greatest at or below a segment’s inclusive end.