Skip to main content

reject_pending_steps

Function reject_pending_steps 

Source
fn reject_pending_steps(saga: &UnresolvedSaga) -> Result<(), String>
Expand description

A pending step started but never reached succeeded, failed or compensated: usually a crash between dispatch and finish_step, after the reducer and the mstore apply already committed. Such a saga cannot safely be marked compensated, because side effects may still be applied; it goes to failed_compensation for operator review, with the pending step and forward state left in the log.