{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/18737","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18737/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18737/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18737/events","html_url":"https://github.com/elastic/elasticsearch/pull/18737","id":158483907,"number":18737,"title":"Index creation does not cause the cluster health to go RED","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},"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/resiliency","name":"resiliency","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v5.0.0","name":"v5.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-04T02:57:09Z","updated_at":"2016-06-15T13:19:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/18737","html_url":"https://github.com/elastic/elasticsearch/pull/18737","diff_url":"https://github.com/elastic/elasticsearch/pull/18737.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/18737.patch"},"body":"Previously, index creation would momentarily cause the cluster health to\r\ngo RED, because the primaries were still being assigned and activated.\r\nThis commit ensures that when an index is created or an index is being\r\nrecovered during cluster recovery and it does not have any active\r\nallocation ids, then the cluster health status will not go RED, but\r\ninstead be YELLOW."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/226184307","html_url":"https://github.com/elastic/elasticsearch/pull/18737#issuecomment-226184307","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18737","id":226184307,"user":{"login":"ywelsch","id":3718355,"avatar_url":"https://avatars.githubusercontent.com/u/3718355?v=3","gravatar_id":"","url":"https://api.github.com/users/ywelsch","html_url":"https://github.com/ywelsch","followers_url":"https://api.github.com/users/ywelsch/followers","following_url":"https://api.github.com/users/ywelsch/following{/other_user}","gists_url":"https://api.github.com/users/ywelsch/gists{/gist_id}","starred_url":"https://api.github.com/users/ywelsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywelsch/subscriptions","organizations_url":"https://api.github.com/users/ywelsch/orgs","repos_url":"https://api.github.com/users/ywelsch/repos","events_url":"https://api.github.com/users/ywelsch/events{/privacy}","received_events_url":"https://api.github.com/users/ywelsch/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T13:19:30Z","updated_at":"2016-06-15T13:19:30Z","body":"@abeyad I left some comments here and there. I don't think we should add the full allocation decision to the unassigned info, that will blow up the cluster state unnecessarily. We can only use the decision type (YES/NO/THROTTLE). As you've noticed, there are also places where it's not clear what that the decision type should be (during shard fetching e.g., where I suggested using THROTTLE)."}}
{"actor":{"display_login":"ywelsch"}}