You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "AutomationDev85 (via GitHub)" <gi...@apache.org> on 2024/11/22 08:05:12 UTC

[PR] [Edge] Clean up of dead tasks in edge_jobs table [airflow]

AutomationDev85 opened a new pull request, #44280:
URL: https://github.com/apache/airflow/pull/44280

   # Description
   
   This PR fixes the issue with dead edge jobs stay in edge_job table. If worker died or was not able to update the state of a job, the task will stay forever in the table. To fix this the job last_update will be checked with the SCHEDULER_ZOMBIE_TASK_THRESHOLD time to detect zombie task and state will be set to REMOVED. A job in state REMOVED will be deleted after job_fail_purge time archived
   
   # Details about changes
   * Detect orphaned tasks after SCHEDULER_ZOMBIE_TASK_THRESHOLD 
   * Add REMOVED  job state
   * Remove REMOVED state jobs after job_fail_purge  time.
   * Adapt unit test


-- 
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: commits-unsubscribe@airflow.apache.org

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


Re: [PR] [edge] Clean up of dead tasks in edge_jobs table [airflow]

Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl merged PR #44280:
URL: https://github.com/apache/airflow/pull/44280


-- 
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: commits-unsubscribe@airflow.apache.org

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