{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/68840943","id":68840943,"diff_hunk":"@@ -70,6 +70,11 @@ public boolean blobExists(String blobName) {\n     @Override\n     public InputStream readBlob(String blobName) throws IOException {\n         logger.trace(\"readBlob({})\", blobName);\n+\n+        if (!blobExists(blobName)) {\n+            throw new IOException(\"Blob [\" + blobName + \"] does not exist\");\n+        }\n+","path":"plugins/repository-azure/src/main/java/org/elasticsearch/cloud/azure/blobstore/AzureBlobContainer.java","position":8,"original_position":8,"commit_id":"d96ef5fd43c7ce1d0936bdc420bd46d23557e540","original_commit_id":"d96ef5fd43c7ce1d0936bdc420bd46d23557e540","user":{"login":"abeyad","id":1631297,"avatar_url":"https://avatars.githubusercontent.com/u/1631297?v=3","gravatar_id":"","url":"https://api.github.com/users/abeyad","html_url":"https://github.com/abeyad","followers_url":"https://api.github.com/users/abeyad/followers","following_url":"https://api.github.com/users/abeyad/following{/other_user}","gists_url":"https://api.github.com/users/abeyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abeyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeyad/subscriptions","organizations_url":"https://api.github.com/users/abeyad/orgs","repos_url":"https://api.github.com/users/abeyad/repos","events_url":"https://api.github.com/users/abeyad/events{/privacy}","received_events_url":"https://api.github.com/users/abeyad/received_events","type":"User","site_admin":false},"body":"I forgot, Azure was ambiguous about the behavior, so its good to keep the blobExists check as you have it","created_at":"2016-06-28T20:52:49Z","updated_at":"2016-06-28T20:52:49Z","html_url":"https://github.com/elastic/elasticsearch/pull/18815#discussion_r68840943","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/68840943"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/18815#discussion_r68840943"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815","id":73378373,"html_url":"https://github.com/elastic/elasticsearch/pull/18815","diff_url":"https://github.com/elastic/elasticsearch/pull/18815.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/18815.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18815","number":18815,"state":"open","locked":false,"title":"Raised IOException on deleteBlob","user":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"body":"Title is self-explanatory.  Closes #18530.","created_at":"2016-06-10T14:02:25Z","updated_at":"2016-06-28T20:52:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bf8db6cc2fa44a508d10a31ecb6d8aa0700b403","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18815/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/d96ef5fd43c7ce1d0936bdc420bd46d23557e540","head":{"label":"gfyoung:stricter-delete-blob","ref":"stricter-delete-blob","sha":"d96ef5fd43c7ce1d0936bdc420bd46d23557e540","user":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"repo":{"id":58865583,"name":"elasticsearch","full_name":"gfyoung/elasticsearch","owner":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfyoung/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/gfyoung/elasticsearch","forks_url":"https://api.github.com/repos/gfyoung/elasticsearch/forks","keys_url":"https://api.github.com/repos/gfyoung/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfyoung/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfyoung/elasticsearch/teams","hooks_url":"https://api.github.com/repos/gfyoung/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/gfyoung/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/gfyoung/elasticsearch/events","assignees_url":"https://api.github.com/repos/gfyoung/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/gfyoung/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/gfyoung/elasticsearch/tags","blobs_url":"https://api.github.com/repos/gfyoung/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfyoung/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfyoung/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfyoung/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfyoung/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/gfyoung/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/gfyoung/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/gfyoung/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/gfyoung/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/gfyoung/elasticsearch/subscription","commits_url":"https://api.github.com/repos/gfyoung/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfyoung/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfyoung/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfyoung/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfyoung/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/gfyoung/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfyoung/elasticsearch/merges","archive_url":"https://api.github.com/repos/gfyoung/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfyoung/elasticsearch/downloads","issues_url":"https://api.github.com/repos/gfyoung/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/gfyoung/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/gfyoung/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/gfyoung/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfyoung/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/gfyoung/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/gfyoung/elasticsearch/deployments","created_at":"2016-05-15T14:19:22Z","updated_at":"2016-05-15T14:19:47Z","pushed_at":"2016-06-28T09:11:39Z","git_url":"git://github.com/gfyoung/elasticsearch.git","ssh_url":"git@github.com:gfyoung/elasticsearch.git","clone_url":"https://github.com/gfyoung/elasticsearch.git","svn_url":"https://github.com/gfyoung/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":234927,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"26e6a522c7fedac27ebf0c6a5d5e8007faf0bd1a","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch/deployments","created_at":"2010-02-08T13:20:56Z","updated_at":"2016-06-28T20:29:09Z","pushed_at":"2016-06-28T20:44:17Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":335181,"stargazers_count":17118,"watchers_count":17118,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5799,"mirror_url":null,"open_issues_count":1068,"forks":5799,"open_issues":1068,"watchers":17118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/18815"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/18815"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/18815/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/18815/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/d96ef5fd43c7ce1d0936bdc420bd46d23557e540"}}}}
{"actor":{"display_login":"abeyad"}}