{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/uber/ringpop-admin/pulls/13","id":49622791,"html_url":"https://github.com/uber/ringpop-admin/pull/13","diff_url":"https://github.com/uber/ringpop-admin/pull/13.diff","patch_url":"https://github.com/uber/ringpop-admin/pull/13.patch","issue_url":"https://api.github.com/repos/uber/ringpop-admin/issues/13","number":13,"state":"closed","locked":false,"title":"Feature partitions command","user":{"login":"thanodnl","id":273145,"avatar_url":"https://avatars.githubusercontent.com/u/273145?v=3","gravatar_id":"","url":"https://api.github.com/users/thanodnl","html_url":"https://github.com/thanodnl","followers_url":"https://api.github.com/users/thanodnl/followers","following_url":"https://api.github.com/users/thanodnl/following{/other_user}","gists_url":"https://api.github.com/users/thanodnl/gists{/gist_id}","starred_url":"https://api.github.com/users/thanodnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanodnl/subscriptions","organizations_url":"https://api.github.com/users/thanodnl/orgs","repos_url":"https://api.github.com/users/thanodnl/repos","events_url":"https://api.github.com/users/thanodnl/events{/privacy}","received_events_url":"https://api.github.com/users/thanodnl/received_events","type":"User","site_admin":false},"body":"There are two things in the PR (bad me, and if we want them separate of each other I will split it).\r\n\r\n1. Besides working with a single `coordinator` for running the commands you can now choose to pass in a bootstrap file as a seed list for your cluster. This way we can find split brain partitions as well. This works on everything but `lookup`. It also uses an async queue to keep fanning out as it finds new nodes in membership of other nodes.\r\n\r\n2. a new command that prints out all partitions it find as follows:\r\n```\r\n$ ./partitions.js ./hosts.json\r\n Checksum     # Nodes   Sample Host\r\n 4140474601   10        10.32.163.67:3000\r\n```\r\nNaturally if there are more partitions you will see them on separate lines.\r\n\r\n/cc @uber/ringpop ","created_at":"2015-11-03T22:36:24Z","updated_at":"2015-11-05T06:07:48Z","closed_at":"2015-11-05T06:07:48Z","merged_at":"2015-11-05T06:07:48Z","merge_commit_sha":"1382956739184bf01f5f2feac400e0e7448c8087","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uber/ringpop-admin/pulls/13/commits","review_comments_url":"https://api.github.com/repos/uber/ringpop-admin/pulls/13/comments","review_comment_url":"https://api.github.com/repos/uber/ringpop-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/ringpop-admin/issues/13/comments","statuses_url":"https://api.github.com/repos/uber/ringpop-admin/statuses/542dfa2cc8a8261207f52a404249737b3b130d66","head":{"label":"uber:feature-partitions-command","ref":"feature-partitions-command","sha":"542dfa2cc8a8261207f52a404249737b3b130d66","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":29321613,"name":"ringpop-admin","full_name":"uber/ringpop-admin","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/ringpop-admin","description":"Command-line tools for Ringpop","fork":false,"url":"https://api.github.com/repos/uber/ringpop-admin","forks_url":"https://api.github.com/repos/uber/ringpop-admin/forks","keys_url":"https://api.github.com/repos/uber/ringpop-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/ringpop-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/ringpop-admin/teams","hooks_url":"https://api.github.com/repos/uber/ringpop-admin/hooks","issue_events_url":"https://api.github.com/repos/uber/ringpop-admin/issues/events{/number}","events_url":"https://api.github.com/repos/uber/ringpop-admin/events","assignees_url":"https://api.github.com/repos/uber/ringpop-admin/assignees{/user}","branches_url":"https://api.github.com/repos/uber/ringpop-admin/branches{/branch}","tags_url":"https://api.github.com/repos/uber/ringpop-admin/tags","blobs_url":"https://api.github.com/repos/uber/ringpop-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/ringpop-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/ringpop-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/ringpop-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/ringpop-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/ringpop-admin/languages","stargazers_url":"https://api.github.com/repos/uber/ringpop-admin/stargazers","contributors_url":"https://api.github.com/repos/uber/ringpop-admin/contributors","subscribers_url":"https://api.github.com/repos/uber/ringpop-admin/subscribers","subscription_url":"https://api.github.com/repos/uber/ringpop-admin/subscription","commits_url":"https://api.github.com/repos/uber/ringpop-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/ringpop-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/ringpop-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/ringpop-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/ringpop-admin/contents/{+path}","compare_url":"https://api.github.com/repos/uber/ringpop-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/ringpop-admin/merges","archive_url":"https://api.github.com/repos/uber/ringpop-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/ringpop-admin/downloads","issues_url":"https://api.github.com/repos/uber/ringpop-admin/issues{/number}","pulls_url":"https://api.github.com/repos/uber/ringpop-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/ringpop-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/ringpop-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/ringpop-admin/labels{/name}","releases_url":"https://api.github.com/repos/uber/ringpop-admin/releases{/id}","created_at":"2015-01-15T22:34:21Z","updated_at":"2015-10-17T07:01:09Z","pushed_at":"2015-11-05T06:07:48Z","git_url":"git://github.com/uber/ringpop-admin.git","ssh_url":"git@github.com:uber/ringpop-admin.git","clone_url":"https://github.com/uber/ringpop-admin.git","svn_url":"https://github.com/uber/ringpop-admin","homepage":"","size":448,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"24debc07e69080253bfd7370485f8f9cb47fc4a7","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":29321613,"name":"ringpop-admin","full_name":"uber/ringpop-admin","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/ringpop-admin","description":"Command-line tools for Ringpop","fork":false,"url":"https://api.github.com/repos/uber/ringpop-admin","forks_url":"https://api.github.com/repos/uber/ringpop-admin/forks","keys_url":"https://api.github.com/repos/uber/ringpop-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/ringpop-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/ringpop-admin/teams","hooks_url":"https://api.github.com/repos/uber/ringpop-admin/hooks","issue_events_url":"https://api.github.com/repos/uber/ringpop-admin/issues/events{/number}","events_url":"https://api.github.com/repos/uber/ringpop-admin/events","assignees_url":"https://api.github.com/repos/uber/ringpop-admin/assignees{/user}","branches_url":"https://api.github.com/repos/uber/ringpop-admin/branches{/branch}","tags_url":"https://api.github.com/repos/uber/ringpop-admin/tags","blobs_url":"https://api.github.com/repos/uber/ringpop-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/ringpop-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/ringpop-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/ringpop-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/ringpop-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/ringpop-admin/languages","stargazers_url":"https://api.github.com/repos/uber/ringpop-admin/stargazers","contributors_url":"https://api.github.com/repos/uber/ringpop-admin/contributors","subscribers_url":"https://api.github.com/repos/uber/ringpop-admin/subscribers","subscription_url":"https://api.github.com/repos/uber/ringpop-admin/subscription","commits_url":"https://api.github.com/repos/uber/ringpop-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/ringpop-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/ringpop-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/ringpop-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/ringpop-admin/contents/{+path}","compare_url":"https://api.github.com/repos/uber/ringpop-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/ringpop-admin/merges","archive_url":"https://api.github.com/repos/uber/ringpop-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/ringpop-admin/downloads","issues_url":"https://api.github.com/repos/uber/ringpop-admin/issues{/number}","pulls_url":"https://api.github.com/repos/uber/ringpop-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/ringpop-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/ringpop-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/ringpop-admin/labels{/name}","releases_url":"https://api.github.com/repos/uber/ringpop-admin/releases{/id}","created_at":"2015-01-15T22:34:21Z","updated_at":"2015-10-17T07:01:09Z","pushed_at":"2015-11-05T06:07:48Z","git_url":"git://github.com/uber/ringpop-admin.git","ssh_url":"git@github.com:uber/ringpop-admin.git","clone_url":"https://github.com/uber/ringpop-admin.git","svn_url":"https://github.com/uber/ringpop-admin","homepage":"","size":448,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/ringpop-admin/pulls/13"},"html":{"href":"https://github.com/uber/ringpop-admin/pull/13"},"issue":{"href":"https://api.github.com/repos/uber/ringpop-admin/issues/13"},"comments":{"href":"https://api.github.com/repos/uber/ringpop-admin/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/ringpop-admin/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/ringpop-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/ringpop-admin/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/uber/ringpop-admin/statuses/542dfa2cc8a8261207f52a404249737b3b130d66"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jwolski","id":16902,"avatar_url":"https://avatars.githubusercontent.com/u/16902?v=3","gravatar_id":"","url":"https://api.github.com/users/jwolski","html_url":"https://github.com/jwolski","followers_url":"https://api.github.com/users/jwolski/followers","following_url":"https://api.github.com/users/jwolski/following{/other_user}","gists_url":"https://api.github.com/users/jwolski/gists{/gist_id}","starred_url":"https://api.github.com/users/jwolski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwolski/subscriptions","organizations_url":"https://api.github.com/users/jwolski/orgs","repos_url":"https://api.github.com/users/jwolski/repos","events_url":"https://api.github.com/users/jwolski/events{/privacy}","received_events_url":"https://api.github.com/users/jwolski/received_events","type":"User","site_admin":false},"comments":1,"review_comments":7,"commits":6,"additions":191,"deletions":39,"changed_files":7}}