Skip to main content

earliest_timestamp_candidate

Function earliest_timestamp_candidate 

Source
pub fn earliest_timestamp_candidate(
    remote: Option<(i64, i64)>,
    local: Option<(i64, i64)>,
) -> Option<(i64, i64)>
Expand description

Select the earliest matching record across two readable tiers.

Preserve its timestamp, prefer remote on equal offsets, and return no match exactly when neither tier found one. Tier lookup errors are handled by the caller before this choice.