Skip to main content

wal_checkpoint_range_valid

Function wal_checkpoint_range_valid 

Source
pub fn wal_checkpoint_range_valid(
    recovered_start: i64,
    recovered_end: i64,
    start: i64,
    end: i64,
    observed_last: Option<i64>,
) -> bool
Expand description

A nonempty checkpoint must end at the observed whole batch’s successor. Its logical floor may lie inside a batch; an empty range is reset at that floor.