Skip to content

Conversation

@parkan
Copy link
Collaborator

@parkan parkan commented Nov 20, 2025

we previously probed Features().Move on the remote to determine renaming capability, this is wrong because it strictly checks for Mover property (which e.g. NFS supports but most cloud storages do not)

this resulted in just throwing up our hands when this check failed and leaving behind CARs that cannot be used for dealmaking (since they retrain the pre-commP uuid tmp names)

the correct check would have been https://pkg.go.dev/github.com/rclone/rclone/fs/operations#CanServerSideMove which returns true for S3 copy-and-delete "move" semantics

however, rclone also exposes an operation that does the move by the best means available, so we just use that (we can potentially add an explicit CanServerSideMove check to avoid falling back to download-rename-reupload degenerate case but that seems like a premature optimization)

@parkan parkan merged commit e001c29 into main Nov 21, 2025
3 checks passed
@parkan parkan deleted the fix/s3rename branch November 21, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants