Skip to content

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

Open
overtrue wants to merge 1 commit into
mainfrom
overtrue/fix-copy-source-race
Open

fix(transfer): fence server-side copies by source ETag#362
overtrue wants to merge 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

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.

1 participant