pub fn mark_failed_with_retry_owned(
conn: &Connection,
job_id: &str,
worker_id: Option<&str>,
error: &str,
failure_class: &FailureClass,
max_retries: u32,
) -> Result<bool, Error>Expand description
Mark a failed job for retry or permanent failure while validating worker ownership.