kevinjqliu opened a new pull request, #758:
URL: https://github.com/apache/arrow-rs-object-store/pull/758

   Follow-up to #643.
   
   rename_if_not_exists uses RenameTargetMode::Create, which is implemented as 
copy-then-delete. The copy side now goes through the fsync-aware path, but the 
source delete also needs to sync the source parent directory when 
with_fsync(true) is enabled so the source-name removal is durable before 
rename_opts returns.
   
   This keeps normal delete_stream behavior unchanged and only passes 
self.fsync for the internal delete that is part of create-mode rename.
   
   Validation:
   - cargo test -p object_store 
fsync_rename_if_not_exists_propagates_source_delete_sync_error
   - cargo test -p object_store local::tests::


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