{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3679","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3679/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3679/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3679/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3679","id":55716843,"number":3679,"title":"Don't error on `table.rebalance` with insufficient data","user":{"login":"Tryneus","id":552910,"avatar_url":"https://avatars.githubusercontent.com/u/552910?v=3","gravatar_id":"","url":"https://api.github.com/users/Tryneus","html_url":"https://github.com/Tryneus","followers_url":"https://api.github.com/users/Tryneus/followers","following_url":"https://api.github.com/users/Tryneus/following{/other_user}","gists_url":"https://api.github.com/users/Tryneus/gists{/gist_id}","starred_url":"https://api.github.com/users/Tryneus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tryneus/subscriptions","organizations_url":"https://api.github.com/users/Tryneus/orgs","repos_url":"https://api.github.com/users/Tryneus/repos","events_url":"https://api.github.com/users/Tryneus/events{/privacy}","received_events_url":"https://api.github.com/users/Tryneus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:RQL_proposal","name":"tp:RQL_proposal","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/89","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/89/labels","id":950901,"number":89,"title":"2.0","description":"","creator":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":0,"state":"open","created_at":"2015-01-26T07:45:17Z","updated_at":"2015-02-03T23:43:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-01-28T05:41:13Z","updated_at":"2015-02-03T23:52:02Z","closed_at":null,"body":"`r.table('foo').reconfigure(shards=n, replicas=m)` will never fail due to insufficient data, but `r.table('foo').rebalance()`, which appears to perform a subset of `reconfigure`'s tasks, will error with:\r\n 'There isn't enough data in the table to create _n_ balanced shards.'\r\n\r\nI think this error would be better if replaced with a no-op.  It is just another error that users need to know about and handle, without much difference to the user.  \r\n"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/72762341","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3679#issuecomment-72762341","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3679","id":72762341,"user":{"login":"timmaxw","id":316661,"avatar_url":"https://avatars.githubusercontent.com/u/316661?v=3","gravatar_id":"","url":"https://api.github.com/users/timmaxw","html_url":"https://github.com/timmaxw","followers_url":"https://api.github.com/users/timmaxw/followers","following_url":"https://api.github.com/users/timmaxw/following{/other_user}","gists_url":"https://api.github.com/users/timmaxw/gists{/gist_id}","starred_url":"https://api.github.com/users/timmaxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmaxw/subscriptions","organizations_url":"https://api.github.com/users/timmaxw/orgs","repos_url":"https://api.github.com/users/timmaxw/repos","events_url":"https://api.github.com/users/timmaxw/events{/privacy}","received_events_url":"https://api.github.com/users/timmaxw/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T23:52:02Z","updated_at":"2015-02-03T23:52:02Z","body":":+1: I think making this a no-op is a no-brainer.\r\n\r\n(I guess that implies I had no brain before...)"}}