Skip to main content

classify_write_result

Function classify_write_result 

Source
fn classify_write_result(
    result: WriteResult,
    target_id: CatalogItemId,
    attempt_state: &FrontendWriteAttemptState,
) -> WriteOutcome
Expand description

Maps a WriteResult to the outcome the statement reports, or to the one conflict the OCC loop can retry.