{"action":"opened","number":1053,"pull_request":{"url":"https://api.github.com/repos/pingcap/pd/pulls/1053","id":186621133,"html_url":"https://github.com/pingcap/pd/pull/1053","diff_url":"https://github.com/pingcap/pd/pull/1053.diff","patch_url":"https://github.com/pingcap/pd/pull/1053.patch","issue_url":"https://api.github.com/repos/pingcap/pd/issues/1053","number":1053,"state":"open","locked":false,"title":"server: check learner regardless of whether learner enabled or not","user":{"login":"Connor1996","id":13497871,"avatar_url":"https://avatars1.githubusercontent.com/u/13497871?v=4","gravatar_id":"","url":"https://api.github.com/users/Connor1996","html_url":"https://github.com/Connor1996","followers_url":"https://api.github.com/users/Connor1996/followers","following_url":"https://api.github.com/users/Connor1996/following{/other_user}","gists_url":"https://api.github.com/users/Connor1996/gists{/gist_id}","starred_url":"https://api.github.com/users/Connor1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connor1996/subscriptions","organizations_url":"https://api.github.com/users/Connor1996/orgs","repos_url":"https://api.github.com/users/Connor1996/repos","events_url":"https://api.github.com/users/Connor1996/events{/privacy}","received_events_url":"https://api.github.com/users/Connor1996/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T12:39:32Z","updated_at":"2018-05-08T12:39:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/pd/pulls/1053/commits","review_comments_url":"https://api.github.com/repos/pingcap/pd/pulls/1053/comments","review_comment_url":"https://api.github.com/repos/pingcap/pd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/pd/issues/1053/comments","statuses_url":"https://api.github.com/repos/pingcap/pd/statuses/df34c998861d8b53967cbebfcb76c8d8393e50c8","head":{"label":"Connor1996:learner-adjust","ref":"learner-adjust","sha":"df34c998861d8b53967cbebfcb76c8d8393e50c8","user":{"login":"Connor1996","id":13497871,"avatar_url":"https://avatars1.githubusercontent.com/u/13497871?v=4","gravatar_id":"","url":"https://api.github.com/users/Connor1996","html_url":"https://github.com/Connor1996","followers_url":"https://api.github.com/users/Connor1996/followers","following_url":"https://api.github.com/users/Connor1996/following{/other_user}","gists_url":"https://api.github.com/users/Connor1996/gists{/gist_id}","starred_url":"https://api.github.com/users/Connor1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connor1996/subscriptions","organizations_url":"https://api.github.com/users/Connor1996/orgs","repos_url":"https://api.github.com/users/Connor1996/repos","events_url":"https://api.github.com/users/Connor1996/events{/privacy}","received_events_url":"https://api.github.com/users/Connor1996/received_events","type":"User","site_admin":false},"repo":{"id":104028031,"name":"pd","full_name":"Connor1996/pd","owner":{"login":"Connor1996","id":13497871,"avatar_url":"https://avatars1.githubusercontent.com/u/13497871?v=4","gravatar_id":"","url":"https://api.github.com/users/Connor1996","html_url":"https://github.com/Connor1996","followers_url":"https://api.github.com/users/Connor1996/followers","following_url":"https://api.github.com/users/Connor1996/following{/other_user}","gists_url":"https://api.github.com/users/Connor1996/gists{/gist_id}","starred_url":"https://api.github.com/users/Connor1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connor1996/subscriptions","organizations_url":"https://api.github.com/users/Connor1996/orgs","repos_url":"https://api.github.com/users/Connor1996/repos","events_url":"https://api.github.com/users/Connor1996/events{/privacy}","received_events_url":"https://api.github.com/users/Connor1996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Connor1996/pd","description":"Placement driver for TiKV","fork":true,"url":"https://api.github.com/repos/Connor1996/pd","forks_url":"https://api.github.com/repos/Connor1996/pd/forks","keys_url":"https://api.github.com/repos/Connor1996/pd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Connor1996/pd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Connor1996/pd/teams","hooks_url":"https://api.github.com/repos/Connor1996/pd/hooks","issue_events_url":"https://api.github.com/repos/Connor1996/pd/issues/events{/number}","events_url":"https://api.github.com/repos/Connor1996/pd/events","assignees_url":"https://api.github.com/repos/Connor1996/pd/assignees{/user}","branches_url":"https://api.github.com/repos/Connor1996/pd/branches{/branch}","tags_url":"https://api.github.com/repos/Connor1996/pd/tags","blobs_url":"https://api.github.com/repos/Connor1996/pd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Connor1996/pd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Connor1996/pd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Connor1996/pd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Connor1996/pd/statuses/{sha}","languages_url":"https://api.github.com/repos/Connor1996/pd/languages","stargazers_url":"https://api.github.com/repos/Connor1996/pd/stargazers","contributors_url":"https://api.github.com/repos/Connor1996/pd/contributors","subscribers_url":"https://api.github.com/repos/Connor1996/pd/subscribers","subscription_url":"https://api.github.com/repos/Connor1996/pd/subscription","commits_url":"https://api.github.com/repos/Connor1996/pd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Connor1996/pd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Connor1996/pd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Connor1996/pd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Connor1996/pd/contents/{+path}","compare_url":"https://api.github.com/repos/Connor1996/pd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Connor1996/pd/merges","archive_url":"https://api.github.com/repos/Connor1996/pd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Connor1996/pd/downloads","issues_url":"https://api.github.com/repos/Connor1996/pd/issues{/number}","pulls_url":"https://api.github.com/repos/Connor1996/pd/pulls{/number}","milestones_url":"https://api.github.com/repos/Connor1996/pd/milestones{/number}","notifications_url":"https://api.github.com/repos/Connor1996/pd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Connor1996/pd/labels{/name}","releases_url":"https://api.github.com/repos/Connor1996/pd/releases{/id}","deployments_url":"https://api.github.com/repos/Connor1996/pd/deployments","created_at":"2017-09-19T04:52:21Z","updated_at":"2017-09-19T04:52:24Z","pushed_at":"2018-05-08T12:37:23Z","git_url":"git://github.com/Connor1996/pd.git","ssh_url":"git@github.com:Connor1996/pd.git","clone_url":"https://github.com/Connor1996/pd.git","svn_url":"https://github.com/Connor1996/pd","homepage":"","size":20704,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"07b143687ecdf43634dfa10af554914737366986","user":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","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://avatars3.githubusercontent.com/u/11855343?v=4","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":"2018-05-08T06:38:32Z","pushed_at":"2018-05-08T08:24:19Z","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":10962,"stargazers_count":198,"watchers_count":198,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":120,"open_issues":44,"watchers":198,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/pd/pulls/1053"},"html":{"href":"https://github.com/pingcap/pd/pull/1053"},"issue":{"href":"https://api.github.com/repos/pingcap/pd/issues/1053"},"comments":{"href":"https://api.github.com/repos/pingcap/pd/issues/1053/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/pd/pulls/1053/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/pd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/pd/pulls/1053/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/pd/statuses/df34c998861d8b53967cbebfcb76c8d8393e50c8"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":133,"deletions":41,"changed_files":5}}
{"actor":{"display_login":"Connor1996"}}