Skip to main content

cancel_backfill

Function cancel_backfill 

Source
pub async fn cancel_backfill(
    __arg0: State<ApiState>,
    __arg1: Path<String>,
    __arg2: Extension<User>,
    key: RequestKey,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Cancel a backfill (schedr runs cancel --backfill, decision 402): its queued and running runs; the finished ones stay as they are. Applied by the master; poll the command.