{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/1767","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/1767/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/1767/comments","events_url":"https://api.github.com/repos/minio/minio/issues/1767/events","html_url":"https://github.com/minio/minio/issues/1767","id":156904440,"number":1767,"title":"Two parallel uploads preseves the first upload","user":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars.githubusercontent.com/u/629407?v=3","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minio/minio/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"krishnasrinivas","id":634494,"avatar_url":"https://avatars.githubusercontent.com/u/634494?v=3","gravatar_id":"","url":"https://api.github.com/users/krishnasrinivas","html_url":"https://github.com/krishnasrinivas","followers_url":"https://api.github.com/users/krishnasrinivas/followers","following_url":"https://api.github.com/users/krishnasrinivas/following{/other_user}","gists_url":"https://api.github.com/users/krishnasrinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/krishnasrinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishnasrinivas/subscriptions","organizations_url":"https://api.github.com/users/krishnasrinivas/orgs","repos_url":"https://api.github.com/users/krishnasrinivas/repos","events_url":"https://api.github.com/users/krishnasrinivas/events{/privacy}","received_events_url":"https://api.github.com/users/krishnasrinivas/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/minio/minio/milestones/7","html_url":"https://github.com/minio/minio/milestones/XL%20Standalone","labels_url":"https://api.github.com/repos/minio/minio/milestones/7/labels","id":1730769,"number":7,"title":"XL Standalone","description":"","creator":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":135,"state":"open","created_at":"2016-04-25T23:05:52Z","updated_at":"2016-05-27T11:18:54Z","due_on":"2016-05-30T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-05-26T05:10:38Z","updated_at":"2016-05-27T12:22:54Z","closed_at":null,"body":"When two parallel uploads of same object with different content is run with `mc` command, it preserves first uploaded file.\r\n\r\nSteps to reproduce\r\n\r\n1. `$ mc mb myminio/mybucket`\r\n2. `mc cp zero100 myminio/mybucket/zero & mc cp zero101 myminio/mybucket/zero &`\r\n3. `mc ls -r myminio/mybucket` gives\r\n```\r\n[2016-05-26 10:23:12 IST] 100MiB zero\r\n```\r\n\r\n`zero100` is 100MiB file and `zero101` is 101MiB file\r\n\r\nI am not sure whether this is an issue because there is a chance `zero100` got completed successfully after `zero101` completion."},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/222132783","html_url":"https://github.com/minio/minio/issues/1767#issuecomment-222132783","issue_url":"https://api.github.com/repos/minio/minio/issues/1767","id":222132783,"user":{"login":"krishnasrinivas","id":634494,"avatar_url":"https://avatars.githubusercontent.com/u/634494?v=3","gravatar_id":"","url":"https://api.github.com/users/krishnasrinivas","html_url":"https://github.com/krishnasrinivas","followers_url":"https://api.github.com/users/krishnasrinivas/followers","following_url":"https://api.github.com/users/krishnasrinivas/following{/other_user}","gists_url":"https://api.github.com/users/krishnasrinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/krishnasrinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishnasrinivas/subscriptions","organizations_url":"https://api.github.com/users/krishnasrinivas/orgs","repos_url":"https://api.github.com/users/krishnasrinivas/repos","events_url":"https://api.github.com/users/krishnasrinivas/events{/privacy}","received_events_url":"https://api.github.com/users/krishnasrinivas/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T12:22:54Z","updated_at":"2016-05-27T12:22:54Z","body":"first try: 1st case(explained above). no error for `mc`s 100M completes first, 101MB completes second.\r\n```\r\nkrishna@escape:~$ mc ls myminio/testbucket/\r\n[2016-05-26 15:51:25 IST] 2.2KiB passwd\r\n[2016-05-27 17:46:09 IST] 101MiB zero\r\n[2016-05-27 17:46:21 IST]     0B a/\r\nkrishna@escape:~$\r\n```\r\n\r\nsecond try: 1st case. no error for `mc`s 101M completes first, 100M completes second.\r\n```\r\nkrishna@escape:~$ mc ls myminio/testbucket/\r\n[2016-05-26 15:51:25 IST] 2.2KiB passwd\r\n[2016-05-27 17:46:27 IST] 100MiB zero\r\n[2016-05-27 17:46:31 IST]     0B a/\r\nkrishna@escape:~$\r\n```\r\n\r\nthird try :\r\n```\r\nkrishna@escape:~$ mc cp /tmp/100mb myminio/testbucket/zero & mc cp /tmp/101mb myminio/testbucket/zero &\r\n[1] 4140\r\n[2] 4141\r\nmc: <ERROR> Failed to copy ‘/tmp/100mb’. One or more of the specified parts could not be found.\r\n```\r\nshould have given error `uploadid can't be found`\r\n\r\nfourth try:\r\n```\r\nkrishna@escape:~$ mc cp /tmp/100mb myminio/testbucket/zero & mc cp /tmp/101mb myminio/testbucket/zero &\r\n[1] 4187\r\n[2] 4188\r\nmc: <ERROR> Failed to copy ‘/tmp/101mb’. Object key is missing, object key cannot be empty\r\n```\r\nshould have given error `uploadid can't be found`\r\n\r\n"}}
{"actor":{"display_login":"krishnasrinivas"}}