yuseok89 commented on PR #72638:
URL: https://github.com/apache/airflow/pull/72638#issuecomment-5618566284

   Thanks for working through that sequence. There was not one. The rule keeps 
any trailing-slash key it cannot prove is a marker, which came from the S3/GCS 
operators where that is always safe. On SFTP a path cannot be both a file and a 
directory, so that no longer holds. I reproduced it against a real bucket and 
SFTP server, and run 2 fails on every run from then on.
   
   Pushed a follow-up commit that makes the intent explicit. A trailing-slash 
key is also skipped when its destination is already a directory, so run 2 
becomes a no-op. It only fires where the write would have failed anyway, so 
nothing transferable is dropped.


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