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

   ## Description
   
   Per the original issue:
   
   > When running `GCSToGCSOperator` with `move_object=True`, if a task fails 
after the file has been successfully copied and deleted from the source bucket 
(e.g., not acknowledge due to network issue), a task retry will attempt to 
delete the source object again.
   
   This PR adds error-handling to properly catch and only warn on a `NotFound` 
exception. All other exceptions are still raised.
   
   closes: #72264
   
   ## Testing
   
   These changes were tested using the following command:
   
   ```bash
   breeze testing providers-tests 
providers/google/tests/unit/google/cloud/transfers/test_gcs_to_gcs.py
   ```


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