Skip to main content

pending

Function pending 

Source
async fn pending(services: &Services, marker: &'static str) -> Result<bool>
Expand description

Whether a named migration step still needs to run, refusing once shutdown begins.

A step gate is the safe place to observe a stop request: every step that has already run stamped its marker, so the ladder is consistent here and the remaining steps resume on the next start. A step about to run is also named as the phase in flight, so the operator sees which one a long boot is spending its time on.