pankajastro commented on issue #38003:
URL: https://github.com/apache/airflow/issues/38003#issuecomment-1992161193

   > When reading the logs in `trigger_reentry` when the trigger return a 
"success" status, the operator read the log by calling `self.write_logs`
   > 
   > 
https://github.com/apache/airflow/blob/191b5c30e68566a75f67aefc860f59573b79bed6/airflow/providers/cncf/kubernetes/operators/pod.py#L745
   > 
   > When reading the logs, the `follow` parameter is hardcoded to False.
   > 
   > 
https://github.com/apache/airflow/blob/191b5c30e68566a75f67aefc860f59573b79bed6/airflow/providers/cncf/kubernetes/operators/pod.py#L781
   > 
   > Maybe the bug is coming from here ?
   
   hmm, since the follow false it can either miss some logs or can produce some 
duplicate logs in termination steps. I have created 
https://github.com/apache/airflow/pull/38081 to fix it


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