Skip to main content

plan_system

Function plan_system 

Source
pub async fn plan_system<S: NamespaceStore>(
    store: &S,
    partition: &Partition,
    actor: &str,
    procedure: &str,
    targets: &[String],
    now_ms: u64,
) -> Result<Batch, StoreError>
Expand description

Plan an automatic action’s audit append; combine this batch with the action acceptance batch and retry planning if any CAS guard loses.

§Errors

Invalid automatic actor/target or corrupt/unavailable audit storage.