Skip to main content

check_wal_history

Function check_wal_history 

Source
pub(crate) async fn check_wal_history<S: LogStore>(
    wal: &Wal<S>,
    provider: &Provider,
    version: &Version,
) -> Result<()>
Expand description

Checks that the log store holds the WAL history of a region that writes to the WAL through the largest replay watermark version persisted, before the region is replayed. A region that skips the WAL keeps no history there.