{"action":"closed","number":1634,"pull_request":{"url":"https://api.github.com/repos/youtube/vitess/pulls/1634","id":66174193,"html_url":"https://github.com/youtube/vitess/pull/1634","diff_url":"https://github.com/youtube/vitess/pull/1634.diff","patch_url":"https://github.com/youtube/vitess/pull/1634.patch","issue_url":"https://api.github.com/repos/youtube/vitess/issues/1634","number":1634,"state":"closed","locked":false,"title":"Adding code to properly split_clone a v3 table.","user":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"body":"We need a vindex of cost < 2 on a table (that is numeric or hash).\r\nThen we use it to split the rows.\r\n\r\n@sougou you can take a look if you want, but I'm gonna keep working on it to add a few more things there.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/youtube/vitess/1634)\n<!-- Reviewable:end -->\n","created_at":"2016-04-12T15:07:22Z","updated_at":"2016-04-12T22:27:07Z","closed_at":"2016-04-12T22:27:07Z","merged_at":"2016-04-12T22:27:07Z","merge_commit_sha":"6519d598aace9004ea00c43e0980e2250e8df68f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/youtube/vitess/pulls/1634/commits","review_comments_url":"https://api.github.com/repos/youtube/vitess/pulls/1634/comments","review_comment_url":"https://api.github.com/repos/youtube/vitess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/youtube/vitess/issues/1634/comments","statuses_url":"https://api.github.com/repos/youtube/vitess/statuses/6576771e1fc2e8b93df12fb7379b584e04952eab","head":{"label":"alainjobart:v3resharding","ref":"v3resharding","sha":"6576771e1fc2e8b93df12fb7379b584e04952eab","user":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"repo":{"id":37342150,"name":"vitess","full_name":"alainjobart/vitess","owner":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alainjobart/vitess","description":"vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.","fork":true,"url":"https://api.github.com/repos/alainjobart/vitess","forks_url":"https://api.github.com/repos/alainjobart/vitess/forks","keys_url":"https://api.github.com/repos/alainjobart/vitess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alainjobart/vitess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alainjobart/vitess/teams","hooks_url":"https://api.github.com/repos/alainjobart/vitess/hooks","issue_events_url":"https://api.github.com/repos/alainjobart/vitess/issues/events{/number}","events_url":"https://api.github.com/repos/alainjobart/vitess/events","assignees_url":"https://api.github.com/repos/alainjobart/vitess/assignees{/user}","branches_url":"https://api.github.com/repos/alainjobart/vitess/branches{/branch}","tags_url":"https://api.github.com/repos/alainjobart/vitess/tags","blobs_url":"https://api.github.com/repos/alainjobart/vitess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alainjobart/vitess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alainjobart/vitess/git/refs{/sha}","trees_url":"https://api.github.com/repos/alainjobart/vitess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alainjobart/vitess/statuses/{sha}","languages_url":"https://api.github.com/repos/alainjobart/vitess/languages","stargazers_url":"https://api.github.com/repos/alainjobart/vitess/stargazers","contributors_url":"https://api.github.com/repos/alainjobart/vitess/contributors","subscribers_url":"https://api.github.com/repos/alainjobart/vitess/subscribers","subscription_url":"https://api.github.com/repos/alainjobart/vitess/subscription","commits_url":"https://api.github.com/repos/alainjobart/vitess/commits{/sha}","git_commits_url":"https://api.github.com/repos/alainjobart/vitess/git/commits{/sha}","comments_url":"https://api.github.com/repos/alainjobart/vitess/comments{/number}","issue_comment_url":"https://api.github.com/repos/alainjobart/vitess/issues/comments{/number}","contents_url":"https://api.github.com/repos/alainjobart/vitess/contents/{+path}","compare_url":"https://api.github.com/repos/alainjobart/vitess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alainjobart/vitess/merges","archive_url":"https://api.github.com/repos/alainjobart/vitess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alainjobart/vitess/downloads","issues_url":"https://api.github.com/repos/alainjobart/vitess/issues{/number}","pulls_url":"https://api.github.com/repos/alainjobart/vitess/pulls{/number}","milestones_url":"https://api.github.com/repos/alainjobart/vitess/milestones{/number}","notifications_url":"https://api.github.com/repos/alainjobart/vitess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alainjobart/vitess/labels{/name}","releases_url":"https://api.github.com/repos/alainjobart/vitess/releases{/id}","deployments_url":"https://api.github.com/repos/alainjobart/vitess/deployments","created_at":"2015-06-12T20:07:42Z","updated_at":"2016-01-12T21:37:12Z","pushed_at":"2016-04-12T19:31:46Z","git_url":"git://github.com/alainjobart/vitess.git","ssh_url":"git@github.com:alainjobart/vitess.git","clone_url":"https://github.com/alainjobart/vitess.git","svn_url":"https://github.com/alainjobart/vitess","homepage":null,"size":57241,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"youtube:master","ref":"master","sha":"c2618d230172e0d5a186c3587c7175570cfea61d","user":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"repo":{"id":11008207,"name":"vitess","full_name":"youtube/vitess","owner":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youtube/vitess","description":"vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.","fork":false,"url":"https://api.github.com/repos/youtube/vitess","forks_url":"https://api.github.com/repos/youtube/vitess/forks","keys_url":"https://api.github.com/repos/youtube/vitess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youtube/vitess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youtube/vitess/teams","hooks_url":"https://api.github.com/repos/youtube/vitess/hooks","issue_events_url":"https://api.github.com/repos/youtube/vitess/issues/events{/number}","events_url":"https://api.github.com/repos/youtube/vitess/events","assignees_url":"https://api.github.com/repos/youtube/vitess/assignees{/user}","branches_url":"https://api.github.com/repos/youtube/vitess/branches{/branch}","tags_url":"https://api.github.com/repos/youtube/vitess/tags","blobs_url":"https://api.github.com/repos/youtube/vitess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youtube/vitess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youtube/vitess/git/refs{/sha}","trees_url":"https://api.github.com/repos/youtube/vitess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youtube/vitess/statuses/{sha}","languages_url":"https://api.github.com/repos/youtube/vitess/languages","stargazers_url":"https://api.github.com/repos/youtube/vitess/stargazers","contributors_url":"https://api.github.com/repos/youtube/vitess/contributors","subscribers_url":"https://api.github.com/repos/youtube/vitess/subscribers","subscription_url":"https://api.github.com/repos/youtube/vitess/subscription","commits_url":"https://api.github.com/repos/youtube/vitess/commits{/sha}","git_commits_url":"https://api.github.com/repos/youtube/vitess/git/commits{/sha}","comments_url":"https://api.github.com/repos/youtube/vitess/comments{/number}","issue_comment_url":"https://api.github.com/repos/youtube/vitess/issues/comments{/number}","contents_url":"https://api.github.com/repos/youtube/vitess/contents/{+path}","compare_url":"https://api.github.com/repos/youtube/vitess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youtube/vitess/merges","archive_url":"https://api.github.com/repos/youtube/vitess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youtube/vitess/downloads","issues_url":"https://api.github.com/repos/youtube/vitess/issues{/number}","pulls_url":"https://api.github.com/repos/youtube/vitess/pulls{/number}","milestones_url":"https://api.github.com/repos/youtube/vitess/milestones{/number}","notifications_url":"https://api.github.com/repos/youtube/vitess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youtube/vitess/labels{/name}","releases_url":"https://api.github.com/repos/youtube/vitess/releases{/id}","deployments_url":"https://api.github.com/repos/youtube/vitess/deployments","created_at":"2013-06-27T21:20:28Z","updated_at":"2016-04-12T19:51:27Z","pushed_at":"2016-04-12T22:27:07Z","git_url":"git://github.com/youtube/vitess.git","ssh_url":"git@github.com:youtube/vitess.git","clone_url":"https://github.com/youtube/vitess.git","svn_url":"https://github.com/youtube/vitess","homepage":null,"size":63074,"stargazers_count":3390,"watchers_count":3390,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":428,"mirror_url":null,"open_issues_count":11,"forks":428,"open_issues":11,"watchers":3390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/youtube/vitess/pulls/1634"},"html":{"href":"https://github.com/youtube/vitess/pull/1634"},"issue":{"href":"https://api.github.com/repos/youtube/vitess/issues/1634"},"comments":{"href":"https://api.github.com/repos/youtube/vitess/issues/1634/comments"},"review_comments":{"href":"https://api.github.com/repos/youtube/vitess/pulls/1634/comments"},"review_comment":{"href":"https://api.github.com/repos/youtube/vitess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/youtube/vitess/pulls/1634/commits"},"statuses":{"href":"https://api.github.com/repos/youtube/vitess/statuses/6576771e1fc2e8b93df12fb7379b584e04952eab"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alainjobart","id":4625714,"avatar_url":"https://avatars.githubusercontent.com/u/4625714?v=3","gravatar_id":"","url":"https://api.github.com/users/alainjobart","html_url":"https://github.com/alainjobart","followers_url":"https://api.github.com/users/alainjobart/followers","following_url":"https://api.github.com/users/alainjobart/following{/other_user}","gists_url":"https://api.github.com/users/alainjobart/gists{/gist_id}","starred_url":"https://api.github.com/users/alainjobart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alainjobart/subscriptions","organizations_url":"https://api.github.com/users/alainjobart/orgs","repos_url":"https://api.github.com/users/alainjobart/repos","events_url":"https://api.github.com/users/alainjobart/events{/privacy}","received_events_url":"https://api.github.com/users/alainjobart/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"commits":6,"additions":493,"deletions":158,"changed_files":9}}