{"action":"closed","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2600","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2600/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2600/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2600/events","html_url":"https://github.com/cockroachdb/cockroach/issues/2600","id":107595416,"number":2600,"title":"rebalancing: Rebalancing criteria is not effective for nodes running on the same machine","user":{"login":"mrtracy","id":6969858,"avatar_url":"https://avatars.githubusercontent.com/u/6969858?v=3","gravatar_id":"","url":"https://api.github.com/users/mrtracy","html_url":"https://github.com/mrtracy","followers_url":"https://api.github.com/users/mrtracy/followers","following_url":"https://api.github.com/users/mrtracy/following{/other_user}","gists_url":"https://api.github.com/users/mrtracy/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtracy/subscriptions","organizations_url":"https://api.github.com/users/mrtracy/orgs","repos_url":"https://api.github.com/users/mrtracy/repos","events_url":"https://api.github.com/users/mrtracy/events{/privacy}","received_events_url":"https://api.github.com/users/mrtracy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-21T20:48:31Z","updated_at":"2016-01-07T23:03:01Z","closed_at":"2016-01-07T23:03:00Z","body":"A common test scenario is to run multiple nodes on the same machine. However, the current rebalancing criteria is not a good match for this scenario; this is because stores are compared based on \"Capacity.FractionUsed()\", which is based on information about the hard-drive the store is located on.  In the case of multiple nodes on the same machine, they are often running from different files on the same hard-drive, and thus the FractionUsed() is always the same for all nodes.\r\n\r\nWe likely need an alternative rebalancing criteria for this situation, which will be very common in tests."}}