Skip to content

fix(transfer): fence server-side copies by source ETag - #362

Merged
cxymds merged 1 commit into
mainfrom
overtrue/fix-copy-source-race
Sep 3, 2026
Merged

fix(transfer): fence server-side copies by source ETag#362
cxymds merged 1 commit into
mainfrom
overtrue/fix-copy-source-race

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Same-alias cp and mv could copy a newer unversioned source than the object selected during planning. Send x-amz-copy-source-if-match so the copy fails with a conflict if the source changes.

Adds request-level and recursive-copy regression coverage.

Tests: make pre-commit

@cxymds
cxymds merged commit 2c86ba7 into main Sep 3, 2026
17 checks passed
@cxymds
cxymds deleted the overtrue/fix-copy-source-race branch September 3, 2026 08:19
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