Raul824 opened a new issue, #44443:
URL: https://github.com/apache/airflow/issues/44443

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
    v2.10.1
   
   ### What happened?
   
   If dags are paused after they start running their duration keeps on 
increasing.
   Due to this the Cluster Activity shows top 5 longest dags which were paused 
and are not even active.
   
   ### What you think should happen instead?
   
   Pausing a dag should reset the status from running to scheduled or queued or 
no state.
   Cluster Activity longest dags should exclude pause dags.
   
   ### How to reproduce
   
   1. Trigger a dag
   2. Once it starts running pause the dag.
   3. Check the duration it will keep on increasing even though it is paused.
   4. After few days check the cluster activity and paused dags will eventually 
come to the top as the long running dag.
   
   ### Operating System
   
   AKS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   AKS
   Airflow 2.10.1
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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