You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
According to AWS docs:
```
A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3 is copying the files. If the error occurs before the copy operation starts, you receive a standard Amazon S3 error. If the error occurs during the copy operation, the error response is embedded in the 200 OK response. This means that a 200 OK response can contain either a success or an error. Design your application to parse the contents of the response and handle it appropriately.
```
That means even if we receive 200, it still might fail.
According to another doc: https://sdk.amazonaws.com/cpp/api/LATEST/class_aws_1_1_s3_1_1_model_1_1_copy_object_result_details.html
```
The source and destination ETag is identical for a successfully copied object
```
That means we need to compare the 2 ETags to be sure.
Test Plan: unit test. also deploy in my namespace.
Reviewers: dhruba, igor
Reviewed By: dhruba
Differential Revision: https://rockset.phacility.com/D6325
0 commit comments