tanvn commented on issue #39088:
URL: https://github.com/apache/airflow/issues/39088#issuecomment-2061362205

   I also checked the log of the scheduler
   
   ```
   [2024-04-17T08:14:19.661+0000] {kubernetes_executor.py:749} INFO - 
attempting to adopt pod pod-3dbaxxx
   [2024-04-17T08:14:19.888+0000] {kubernetes_executor.py:220} INFO - Event: 
pod-3dbaxxx is Running
   [2024-04-17T08:15:30.521+0000] {kubernetes_executor.py:213} INFO - Event: 
pod-3dbaxxx Succeeded
   ....
   
   ```
   
   which makes me believe that the following code block was executed 
successfully 
   
https://github.com/apache/airflow/blob/2.5.0/airflow/executors/kubernetes_executor.py#L749-L765
   
   and pod_id is removed from the dict: `pod_ids.pop(pod_id)`
   so it is weird that it is included by `tis_to_flush` later 🤔 


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