Skip to main content

tiered_earliest_finished_index

Function tiered_earliest_finished_index 

Source
pub fn tiered_earliest_finished_index(
    starts: &[i64],
    ends: &[i64],
    finished: &[bool],
) -> Option<usize>
Expand description

Select the earliest valid finished remote segment.

The three slices are parallel arrays supplied from one metadata listing. Negative or inverted ranges are not candidates, even when their lifecycle state says the copy finished.