{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9514","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9514/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9514/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9514/events","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9514","id":56083962,"number":9514,"title":"Add `beforeIndexAddedToCluster` callback","user":{"login":"dakrone","id":19060,"avatar_url":"https://avatars.githubusercontent.com/u/19060?v=3","gravatar_id":"","url":"https://api.github.com/users/dakrone","html_url":"https://github.com/dakrone","followers_url":"https://api.github.com/users/dakrone/followers","following_url":"https://api.github.com/users/dakrone/following{/other_user}","gists_url":"https://api.github.com/users/dakrone/gists{/gist_id}","starred_url":"https://api.github.com/users/dakrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakrone/subscriptions","organizations_url":"https://api.github.com/users/dakrone/orgs","repos_url":"https://api.github.com/users/dakrone/repos","events_url":"https://api.github.com/users/dakrone/events{/privacy}","received_events_url":"https://api.github.com/users/dakrone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v1.5.0","name":"v1.5.0","color":"dddddd"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-30T20:59:07Z","updated_at":"2015-02-01T17:29:48Z","closed_at":"2015-01-30T22:26:20Z","pull_request":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/9514","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9514","diff_url":"https://github.com/elasticsearch/elasticsearch/pull/9514.diff","patch_url":"https://github.com/elasticsearch/elasticsearch/pull/9514.patch"},"body":"This callback is executed only once, on the master node during an\r\nindex's creation. An exception thrown during this listener will cancel\r\nthe index creation.\r\n\r\nThis also adds checks in `IndicesClusterStateService` for the\r\nindexService being null as well as if the `indicesService.createIndex`\r\nthrows an exception on data nodes after an index has already been\r\ncreated."},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/72374132","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9514#issuecomment-72374132","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9514","id":72374132,"user":{"login":"dakrone","id":19060,"avatar_url":"https://avatars.githubusercontent.com/u/19060?v=3","gravatar_id":"","url":"https://api.github.com/users/dakrone","html_url":"https://github.com/dakrone","followers_url":"https://api.github.com/users/dakrone/followers","following_url":"https://api.github.com/users/dakrone/following{/other_user}","gists_url":"https://api.github.com/users/dakrone/gists{/gist_id}","starred_url":"https://api.github.com/users/dakrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakrone/subscriptions","organizations_url":"https://api.github.com/users/dakrone/orgs","repos_url":"https://api.github.com/users/dakrone/repos","events_url":"https://api.github.com/users/dakrone/events{/privacy}","received_events_url":"https://api.github.com/users/dakrone/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T17:29:48Z","updated_at":"2015-02-01T17:29:48Z","body":"@kimchy I will fix that, thanks"}}