{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/2912","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/2912/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/2912/comments","events_url":"https://api.github.com/repos/minio/minio/issues/2912/events","html_url":"https://github.com/minio/minio/issues/2912","id":182546345,"number":2912,"title":"race-condition in GetObject","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-12T14:50:11Z","updated_at":"2016-10-12T15:59:26Z","closed_at":null,"body":"In get object we do:\r\nobjectAPI.GetObjectInfo()\r\n\r\n// some checks\r\n\r\nobjectAPI.GetObject()\r\n\r\nwhen `// some checks` are performed, if the object is replaced it will cause race condition.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/253256488","html_url":"https://github.com/minio/minio/issues/2912#issuecomment-253256488","issue_url":"https://api.github.com/repos/minio/minio/issues/2912","id":253256488,"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-10-12T15:59:26Z","updated_at":"2016-10-12T15:59:26Z","body":"> @krishnasrinivas : How to reproduce this ?\r\n\r\nit will be difficult to reproduce this because the time between getObjectInfo and getObject will be a very small window during which you have to replace that particular object. Yo\r\n"}}
{"actor":{"display_login":"krishnasrinivas"}}