Skip to main content

rollback

Function rollback 

Source
pub fn rollback(
    host: &HostContext,
    lock: &WriterLock,
    repository_id: &str,
    transaction_id: &str,
    observer: impl FnMut(&Event) -> Result<()>,
) -> Result<()>
Expand description

Explicit/restartable guarded rollback, including completed schema-2 transactions. Schema-1 adoption transactions remain recoverable using adoption::rollback.