You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/15 12:53:18 UTC

[GitHub] [airflow] yyhecust opened a new issue #16458: The Clear API supports task failure without retry

yyhecust opened a new issue #16458:
URL: https://github.com/apache/airflow/issues/16458


   **Description**
   The Clear API will use *clear_task_instances* method to reset the ti.max_reties of task_instance, so if the DAG set the number of task retries not equal to zero, the task_instance will retry if it fails, But we want it failed without retry.
   
   **Use case / motivation**
   In my application, we use the Clear API as a way to rerun the task_instance, but we want the rerun to be a one-time action. Therefore, we would like to add a feature to the Clear API to control whether the task instance can be retried or not.
   
   **Are you willing to submit a PR?**
   Yes, I'm willing to.
   
   **Related Issues**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org