pub(super) async fn run(
db: &Database,
repair: impl AsyncFnOnce() -> Result<Outcome>,
) -> Option<Outcome>Expand description
Runs the repair unless a recognized outcome is already recorded.
The repair must finish its durability barriers and uncached verification before returning, and its outcome is recorded only after another sync. A read-only open or any error leaves completion unestablished without failing startup.