aws / aws/aws-cli

Multipart uploads can lead to loss of metadata

Open
#1,145 10 comments 15 reactions 0 assignees View on GitHub
feature-request p2 s3 s3copy-extra-data s3sync
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

## Scenario 1:

```
`aws s3 sync s3://files/ s3://files-backup --recursive --profile `
```
- sync files between two buckets under the same account and the same region, some files' metadata lost with key like `x-amz-meta-json`
## Scenario 2:

```
`aws s3 sync s3://files-dev/ s3://files-prod --recursive --profile `
```
- sync files between two buckets which is belong to two account and the same region, for example, one account is for development and the other one is for production, some files' metadata also lost with key like `x-amz-meta-json`.

Note: the batch of files which lost metadata are the same in the two scenarios above.

Does anyone has the same issue?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.