Subham-KRLX commented on PR #64221:
URL: https://github.com/apache/airflow/pull/64221#issuecomment-4130783578

   > Could you show any evidence of hostname error occuring too frequently in 
any environment. Sorry -- this is trying to solve a problem with AI with proper 
understanding
   
   @kaxil I have stripped the speculative hostname code you were right to flag 
it the actual issue revolves around the 409 Conflict race condition during task 
termination when a task successfully finishes it might still fire a heartbeat 
before the process exits the API correctly returns 409. However the Supervisor 
responds by force-killing the already finishing task
   I just simplified the fix to just 10 lines in the Supervisor that allow it 
to check its own _exit_code before force-killing this keeps the API strict and 
avoids spurious 'killed' reports. 


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