-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
do not save plain-text ETag when encryption is requested #17427
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/minio/minio/blob/master/cmd/object-handlers-common.go#L193
etagMatch should be considered true if it is sse-s3 and etag is empty to avoid re-replicating if there are timing issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes an issue under bucket replication could cause ETags for replicated SSE-S3 single part PUT objects, to fail as we would attempt a decryption while listing, or stat() operation.
fixes an issue under bucket replication could cause ETags for replicated SSE-S3 single part PUT objects, to fail as we would attempt a decryption while listing, or stat() operation.
Description
do not save plain-text ETag when encryption is requested
Motivation and Context
fixes an issue under bucket replication could cause
ETags for replicated SSE-S3 single-part PUT objects,
to fail as we would attempt a decryption while listing,
or stat() operation.
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)