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.