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
Since copy_object is not mark as idempotent, the copy operation is not retried on error, while other operations such as put_object are retried.
s3=Fog::Storage.new(...)directory=s3.directories.new(key: 'some-bucket')directory.files.create(key: 'test',body: 'hello')# this request will be retried on errorfile=directory.files.get('test')file.copy('some-bucket','test2')# this request won't be retried on error
Since copy_object is not mark as idempotent, the copy operation is not retried on error, while other operations such as put_object are retried.
This behavior is inconvenient and inconsistent.
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html says AWS SDK supports retry, so how about changing copy_object as idempotent?
The text was updated successfully, but these errors were encountered: