{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/15748","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15748/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15748/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15748/events","html_url":"https://github.com/elastic/elasticsearch/pull/15748","id":124752777,"number":15748,"title":"Wait for new master when failing shard","user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars.githubusercontent.com/u/4744941?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Cluster","name":":Cluster","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v3.0.0","name":"v3.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2016-01-04T12:36:58Z","updated_at":"2016-01-15T16:39:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15748","html_url":"https://github.com/elastic/elasticsearch/pull/15748","diff_url":"https://github.com/elastic/elasticsearch/pull/15748.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/15748.patch"},"body":"This commit handles the situation when we are failing a shard and either\r\nno master is known, or the known master left while failing the shard. We\r\nhandle this situation by waiting for a new master to be reelected, and15\r\nthen sending the shard failed request to the new master.\r\n\r\nRelates #14252"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/172010088","html_url":"https://github.com/elastic/elasticsearch/pull/15748#issuecomment-172010088","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15748","id":172010088,"user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars.githubusercontent.com/u/4744941?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T16:39:09Z","updated_at":"2016-01-15T16:39:09Z","body":"@bleskes I think this pull request is ready for another retry loop. ;)"}}