Skip to main content

lease_wait_until_trusted

Function lease_wait_until_trusted 

Source
async fn lease_wait_until_trusted(
    compute: &ComputeNode,
    fingerprint: &str,
) -> Result<Option<()>, DevError>
Expand description

Bounded wait for a concurrent rebuild’s lease to end and its stamp to land: poll the O Describe every 5 s for up to 60 s. Some(()) when the index reads trusted; None when the wait ran out.