Skip to main content

Module remote_read

Module remote_read 

Source
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 u32 sparse 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.