{"action":"created","comment":{"url":"https://api.github.com/repos/pingcap/pd/pulls/comments/84657036","pull_request_review_id":5419736,"id":84657036,"diff_hunk":"@@ -392,3 +394,35 @@ func (c *conn) handleReportSplit(req *pdpb.Request) (*pdpb.Response, error) {\n \t\tReportSplit: split,\n \t}, nil\n }\n+\n+func (c *conn) handleGetPDMembers(req *pdpb.Request) (*pdpb.Response, error) {","path":"server/command.go","position":14,"original_position":14,"commit_id":"bbc72e241ab935b7826f4ebdd30c215626ba87a4","original_commit_id":"bbc72e241ab935b7826f4ebdd30c215626ba87a4","user":{"login":"huachaohuang","id":7806468,"avatar_url":"https://avatars.githubusercontent.com/u/7806468?v=3","gravatar_id":"","url":"https://api.github.com/users/huachaohuang","html_url":"https://github.com/huachaohuang","followers_url":"https://api.github.com/users/huachaohuang/followers","following_url":"https://api.github.com/users/huachaohuang/following{/other_user}","gists_url":"https://api.github.com/users/huachaohuang/gists{/gist_id}","starred_url":"https://api.github.com/users/huachaohuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huachaohuang/subscriptions","organizations_url":"https://api.github.com/users/huachaohuang/orgs","repos_url":"https://api.github.com/users/huachaohuang/repos","events_url":"https://api.github.com/users/huachaohuang/events{/privacy}","received_events_url":"https://api.github.com/users/huachaohuang/received_events","type":"User","site_admin":false},"body":"This is almost the same as the members API, you can combine them together and export to API.","created_at":"2016-10-24T10:12:53Z","updated_at":"2016-10-24T10:13:02Z","html_url":"https://github.com/pingcap/pd/pull/357#discussion_r84657036","pull_request_url":"https://api.github.com/repos/pingcap/pd/pulls/357","_links":{"self":{"href":"https://api.github.com/repos/pingcap/pd/pulls/comments/84657036"},"html":{"href":"https://github.com/pingcap/pd/pull/357#discussion_r84657036"},"pull_request":{"href":"https://api.github.com/repos/pingcap/pd/pulls/357"}}},"pull_request":{"url":"https://api.github.com/repos/pingcap/pd/pulls/357","id":90481328,"html_url":"https://github.com/pingcap/pd/pull/357","diff_url":"https://github.com/pingcap/pd/pull/357.diff","patch_url":"https://github.com/pingcap/pd/pull/357.patch","issue_url":"https://api.github.com/repos/pingcap/pd/issues/357","number":357,"state":"open","locked":false,"title":"[WIP]server: add get pd members cmd support","user":{"login":"overvenus","id":2150711,"avatar_url":"https://avatars.githubusercontent.com/u/2150711?v=3","gravatar_id":"","url":"https://api.github.com/users/overvenus","html_url":"https://github.com/overvenus","followers_url":"https://api.github.com/users/overvenus/followers","following_url":"https://api.github.com/users/overvenus/following{/other_user}","gists_url":"https://api.github.com/users/overvenus/gists{/gist_id}","starred_url":"https://api.github.com/users/overvenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overvenus/subscriptions","organizations_url":"https://api.github.com/users/overvenus/orgs","repos_url":"https://api.github.com/users/overvenus/repos","events_url":"https://api.github.com/users/overvenus/events{/privacy}","received_events_url":"https://api.github.com/users/overvenus/received_events","type":"User","site_admin":false},"body":"Get PD cluster members through Protobuf.\r\n\r\nRef: pingcap/tikv#1201\r\n\r\nClose #355 ","created_at":"2016-10-22T13:01:59Z","updated_at":"2016-10-24T10:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53e19c630b7f78682e437ac561a4bcf133d7ede7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/pd/pulls/357/commits","review_comments_url":"https://api.github.com/repos/pingcap/pd/pulls/357/comments","review_comment_url":"https://api.github.com/repos/pingcap/pd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/pd/issues/357/comments","statuses_url":"https://api.github.com/repos/pingcap/pd/statuses/bbc72e241ab935b7826f4ebdd30c215626ba87a4","head":{"label":"overvenus:get-pd-members","ref":"get-pd-members","sha":"bbc72e241ab935b7826f4ebdd30c215626ba87a4","user":{"login":"overvenus","id":2150711,"avatar_url":"https://avatars.githubusercontent.com/u/2150711?v=3","gravatar_id":"","url":"https://api.github.com/users/overvenus","html_url":"https://github.com/overvenus","followers_url":"https://api.github.com/users/overvenus/followers","following_url":"https://api.github.com/users/overvenus/following{/other_user}","gists_url":"https://api.github.com/users/overvenus/gists{/gist_id}","starred_url":"https://api.github.com/users/overvenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overvenus/subscriptions","organizations_url":"https://api.github.com/users/overvenus/orgs","repos_url":"https://api.github.com/users/overvenus/repos","events_url":"https://api.github.com/users/overvenus/events{/privacy}","received_events_url":"https://api.github.com/users/overvenus/received_events","type":"User","site_admin":false},"repo":{"id":64187243,"name":"pd","full_name":"overvenus/pd","owner":{"login":"overvenus","id":2150711,"avatar_url":"https://avatars.githubusercontent.com/u/2150711?v=3","gravatar_id":"","url":"https://api.github.com/users/overvenus","html_url":"https://github.com/overvenus","followers_url":"https://api.github.com/users/overvenus/followers","following_url":"https://api.github.com/users/overvenus/following{/other_user}","gists_url":"https://api.github.com/users/overvenus/gists{/gist_id}","starred_url":"https://api.github.com/users/overvenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overvenus/subscriptions","organizations_url":"https://api.github.com/users/overvenus/orgs","repos_url":"https://api.github.com/users/overvenus/repos","events_url":"https://api.github.com/users/overvenus/events{/privacy}","received_events_url":"https://api.github.com/users/overvenus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/overvenus/pd","description":"Placement driver for TiKV","fork":true,"url":"https://api.github.com/repos/overvenus/pd","forks_url":"https://api.github.com/repos/overvenus/pd/forks","keys_url":"https://api.github.com/repos/overvenus/pd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/overvenus/pd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/overvenus/pd/teams","hooks_url":"https://api.github.com/repos/overvenus/pd/hooks","issue_events_url":"https://api.github.com/repos/overvenus/pd/issues/events{/number}","events_url":"https://api.github.com/repos/overvenus/pd/events","assignees_url":"https://api.github.com/repos/overvenus/pd/assignees{/user}","branches_url":"https://api.github.com/repos/overvenus/pd/branches{/branch}","tags_url":"https://api.github.com/repos/overvenus/pd/tags","blobs_url":"https://api.github.com/repos/overvenus/pd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/overvenus/pd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/overvenus/pd/git/refs{/sha}","trees_url":"https://api.github.com/repos/overvenus/pd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/overvenus/pd/statuses/{sha}","languages_url":"https://api.github.com/repos/overvenus/pd/languages","stargazers_url":"https://api.github.com/repos/overvenus/pd/stargazers","contributors_url":"https://api.github.com/repos/overvenus/pd/contributors","subscribers_url":"https://api.github.com/repos/overvenus/pd/subscribers","subscription_url":"https://api.github.com/repos/overvenus/pd/subscription","commits_url":"https://api.github.com/repos/overvenus/pd/commits{/sha}","git_commits_url":"https://api.github.com/repos/overvenus/pd/git/commits{/sha}","comments_url":"https://api.github.com/repos/overvenus/pd/comments{/number}","issue_comment_url":"https://api.github.com/repos/overvenus/pd/issues/comments{/number}","contents_url":"https://api.github.com/repos/overvenus/pd/contents/{+path}","compare_url":"https://api.github.com/repos/overvenus/pd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/overvenus/pd/merges","archive_url":"https://api.github.com/repos/overvenus/pd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/overvenus/pd/downloads","issues_url":"https://api.github.com/repos/overvenus/pd/issues{/number}","pulls_url":"https://api.github.com/repos/overvenus/pd/pulls{/number}","milestones_url":"https://api.github.com/repos/overvenus/pd/milestones{/number}","notifications_url":"https://api.github.com/repos/overvenus/pd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/overvenus/pd/labels{/name}","releases_url":"https://api.github.com/repos/overvenus/pd/releases{/id}","deployments_url":"https://api.github.com/repos/overvenus/pd/deployments","created_at":"2016-07-26T03:36:04Z","updated_at":"2016-07-26T03:36:05Z","pushed_at":"2016-10-23T03:37:03Z","git_url":"git://github.com/overvenus/pd.git","ssh_url":"git@github.com:overvenus/pd.git","clone_url":"https://github.com/overvenus/pd.git","svn_url":"https://github.com/overvenus/pd","homepage":"","size":3702,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"c0af22f4f5c96ec7bd6d7c284529fa674a06cada","user":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars.githubusercontent.com/u/11855343?v=3","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":53311716,"name":"pd","full_name":"pingcap/pd","owner":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars.githubusercontent.com/u/11855343?v=3","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/pd","description":"Placement driver for TiKV","fork":false,"url":"https://api.github.com/repos/pingcap/pd","forks_url":"https://api.github.com/repos/pingcap/pd/forks","keys_url":"https://api.github.com/repos/pingcap/pd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/pd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/pd/teams","hooks_url":"https://api.github.com/repos/pingcap/pd/hooks","issue_events_url":"https://api.github.com/repos/pingcap/pd/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/pd/events","assignees_url":"https://api.github.com/repos/pingcap/pd/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/pd/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/pd/tags","blobs_url":"https://api.github.com/repos/pingcap/pd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/pd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/pd/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/pd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/pd/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/pd/languages","stargazers_url":"https://api.github.com/repos/pingcap/pd/stargazers","contributors_url":"https://api.github.com/repos/pingcap/pd/contributors","subscribers_url":"https://api.github.com/repos/pingcap/pd/subscribers","subscription_url":"https://api.github.com/repos/pingcap/pd/subscription","commits_url":"https://api.github.com/repos/pingcap/pd/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/pd/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/pd/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/pd/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/pd/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/pd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/pd/merges","archive_url":"https://api.github.com/repos/pingcap/pd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/pd/downloads","issues_url":"https://api.github.com/repos/pingcap/pd/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/pd/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/pd/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/pd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/pd/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/pd/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/pd/deployments","created_at":"2016-03-07T09:13:06Z","updated_at":"2016-10-22T02:54:08Z","pushed_at":"2016-10-24T03:59:17Z","git_url":"git://github.com/pingcap/pd.git","ssh_url":"git@github.com:pingcap/pd.git","clone_url":"https://github.com/pingcap/pd.git","svn_url":"https://github.com/pingcap/pd","homepage":"","size":4244,"stargazers_count":21,"watchers_count":21,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/pd/pulls/357"},"html":{"href":"https://github.com/pingcap/pd/pull/357"},"issue":{"href":"https://api.github.com/repos/pingcap/pd/issues/357"},"comments":{"href":"https://api.github.com/repos/pingcap/pd/issues/357/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/pd/pulls/357/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/pd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/pd/pulls/357/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/pd/statuses/bbc72e241ab935b7826f4ebdd30c215626ba87a4"}}}}
{"actor":{"display_login":"huachaohuang"}}