kaxil commented on a change in pull request #16681:
URL: https://github.com/apache/airflow/pull/16681#discussion_r679567231



##########
File path: UPDATING.md
##########
@@ -127,6 +127,10 @@ If you are using DAGs Details API endpoint, use 
`max_active_tasks` instead of `c
 
 When marking a task success/failed in Graph View, its downstream tasks that 
are in failed/upstream_failed state are automatically cleared.
 
+### Clearing a running task sets its state to RESTARTING
+
+Previously, clearing a running task sets its state to SHUTDOWN. The task gets 
killed and goes into FAILED state. After 
[#16681](https://github.com/apache/airflow/pull/16681), clearing a running task 
sets its state to RESTARTING. The task is eligible for retry without going into 
FAILED state.
+

Review comment:
       ```suggestion
   ### Clearing a running task sets its state to `RESTARTING`
   
   Previously, clearing a running task sets its state to `SHUTDOWN`. The task 
gets killed and goes into `FAILED` state. After 
[#16681](https://github.com/apache/airflow/pull/16681), clearing a running task 
sets its state to `RESTARTING`. The task is eligible for retry without going 
into `FAILED` state.
   
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to