Skip to main content

release_wal_to_replay_start

Function release_wal_to_replay_start 

Source
pub(crate) async fn release_wal_to_replay_start<S: LogStore>(
    region: &MitoRegion,
    wal: &Wal<S>,
    node_id: Option<u64>,
)
Expand description

Releases the WAL of region on node node_id up to where the region now replays it on open, keeping the node’s remaining tails, after an edit of its pending tails or a handover’s commit, which may record only a handoff floor or nothing. A failure is only logged.