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

   We have to use the current version of the pod otherwise we may get an error 
when trying to patch it, e.g.:
   
   ```
   Operation cannot be fulfilled on pods 
\"test-kubernetes-pod-db9eedb7885c40099dd40cd4edc62415\": the object has been 
modified; please apply your changes to the latest version and try again"
   ```
   
   This error would not cause a failure of the task, since errors in `cleanup` 
are suppressed.  However, it would fail to patch.
   
   I believe one scenario when the pod may be updated is when retrieving xcom, 
since the sidecar is terminated after extracting the value.
   


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