Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let CopyObject overwrite store headers #2064

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

afranken
Copy link
Member

@afranken afranken commented Sep 27, 2024

Description

The headers we store as "storeHeaders" are part of the
"System-defined object metadata" which can be the only metadata
overwritten when copying objects.

See also https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#SysMetadata

Related Issue

Fixes #2005

Tasks

  • I have signed the CLA.
  • I have written tests and verified that they fail without my change.

@afranken afranken added the bug label Sep 27, 2024
The headers we store as "storeHeaders" are part of the
"System-defined object metadata" which can be the only metadata
overwritten when copying objects.

Fixes #2005
This makes it easier tracing problems with HTTP requests if they are
rejected by Spring.
@afranken afranken force-pushed the 2005-let-copy-object-overwrite-store-headers branch from ba9a0d9 to 841a18b Compare September 27, 2024 17:26
@afranken afranken self-assigned this Sep 27, 2024
@afranken afranken merged commit 4fb5ef9 into main Sep 27, 2024
6 checks passed
@afranken afranken deleted the 2005-let-copy-object-overwrite-store-headers branch September 27, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CopyObject with Metadata directive "REPLACE" does not update system metadata
1 participant