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: [email protected]

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

Reply via email to