{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/13163","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/13163/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/13163/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/13163/events","html_url":"https://github.com/elastic/elasticsearch/pull/13163","id":103586344,"number":13163,"title":"Expand ClusterInfo to provide min / max disk usage forn allocation decider","user":{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?v=3","gravatar_id":"","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Allocation","name":":Allocation","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T20:16:54Z","updated_at":"2015-08-27T20:30:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/13163","html_url":"https://github.com/elastic/elasticsearch/pull/13163","diff_url":"https://github.com/elastic/elasticsearch/pull/13163.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/13163.patch"},"body":"Today we sum up the disk usage for the allocation decider which is broken since\r\nwe don't stripe across multiple data paths. Each shard has it's own private path\r\nnow but the allocation deciders still treat all paths as one big disk. This commit\r\nadds allows allocation deciders to access the least used and most used path to make\r\nbetter allocation decisions upon canRemain and canAllocate calls.\r\n\r\nYet, this commit doesn't fix all the issues since we still can't tell which shard\r\ncan remain and which can't. This problem is out of scope in this commit and will be solved\r\nin a followup commit.\r\n\r\nRelates to #13106"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/135546506","html_url":"https://github.com/elastic/elasticsearch/pull/13163#issuecomment-135546506","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/13163","id":135546506,"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-08-27T20:30:32Z","updated_at":"2015-08-27T20:30:32Z","body":"LGTM, but worth adding something mentioning it in the documentation?"}}