Skip to main content

count_applied

Function count_applied 

Source
fn count_applied(
    applied: Result<bool>,
    row: &CreditRegistration,
    processed: &mut i32,
    items_failed: &mut i32,
) -> Result<()>
Expand description

Counts one written row, or skips one that had already moved on. Skipped rather than propagated: the row belongs to whoever moved it, and aborting would leave the rest of the batch in the state the preflight wrote, which no phase claims again.