Skip to main content

notify_if_fenced

Function notify_if_fenced 

Source
pub(crate) async fn notify_if_fenced(
    sender: &Sender<WorkerRequestWithTime>,
    region: &MitoRegion,
)
Expand description

Asks the worker to reload the region if a commit outside the worker fenced it. The caller must not hold the region’s manifest lock, which the worker may wait for.