Closed krishnasrinivas closed 8 years ago
krishna@mcbug:~$ mc rm https://peppadog.s3.amazonaws.com/5gfile
mc: <ERROR> Unable to remove ‘https://peppadog.s3.amazonaws.com/5gfile’. Access Denied
krishna@mcbug:~$ mc rm https://peppadog.s3.amazonaws.com/5gfile
mc: <ERROR> Unable to stat. Access Denied
krishna@mcbug:~$ mc rm https://peppadog.s3.amazonaws.com/5gfile
Removed ‘https://peppadog.s3.amazonaws.com/5gfile’.
krishna@mcbug:~$
this might be related. maybe what happens is sometimes it takes https://s3.amazonaws.com creds and sometimes it takes https://peppadog.s3.amazonaws.com ?
This was perhaps an important bug which surfaced . It was an oversight on my part and an important race was missed. Thanks to @krishnasrinivas for pointing it out on our new minio-go changes.
The race would happen so that all parts indeed have uploaded fine but the complete multipart 'slice' was never updated - this led to an issue where the complete multipart was issued on a multipart operation with additional parts missing.
For example if you have uploaded - 1, 2, 3, 4, 5 ,6, 7, 8, 9, 10 parts
but you only have 1, 2, 3, 4, 5, 6, 7, 8
in your local complete multipart list. If you end up issuing a complete multipart upload on this list. Amazon S3 would create a file only comprising on 8parts not 10parts. Since final concatenation of parts is based on the complete multipart list.
New changes in minio-go will have this issue fixed - https://github.com/minio/minio-go/pull/250
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
@vu3jej reported this:
mc version: