Function should_persist_region_checkpoint

Source
fn should_persist_region_checkpoint(
    current: &LeaderRegion,
    persisted: Option<ReplayCheckpoint>,
) -> Option<ReplayCheckpoint>
Expand description

Determines whether a region checkpoint should be persisted based on current and persisted state.