{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/eBay/NuRaft/pulls/51","id":321565225,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxNTY1MjI1","html_url":"https://github.com/eBay/NuRaft/pull/51","diff_url":"https://github.com/eBay/NuRaft/pull/51.diff","patch_url":"https://github.com/eBay/NuRaft/pull/51.patch","issue_url":"https://api.github.com/repos/eBay/NuRaft/issues/51","number":51,"state":"open","locked":false,"title":"Allow zero-priority member to be temporary leader","user":{"login":"greensky00","id":5001031,"node_id":"MDQ6VXNlcjUwMDEwMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5001031?v=4","gravatar_id":"","url":"https://api.github.com/users/greensky00","html_url":"https://github.com/greensky00","followers_url":"https://api.github.com/users/greensky00/followers","following_url":"https://api.github.com/users/greensky00/following{/other_user}","gists_url":"https://api.github.com/users/greensky00/gists{/gist_id}","starred_url":"https://api.github.com/users/greensky00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greensky00/subscriptions","organizations_url":"https://api.github.com/users/greensky00/orgs","repos_url":"https://api.github.com/users/greensky00/repos","events_url":"https://api.github.com/users/greensky00/events{/privacy}","received_events_url":"https://api.github.com/users/greensky00/received_events","type":"User","site_admin":false},"body":"* There can be an edge case where zero-priority member is the only\r\nnode who has the latest log, while all the other nodes with the latest\r\nlog are offline. In such case, next leader will never be elected as\r\nthe zero-priority member will reject all vote request.\r\n\r\n* In such case, the zero-priority member should be a temporary leader.\r\nOnce it becomes a leader, it should do graceful resignation immediately;\r\nwaits for catching-up and then sends leadership takeover request to the\r\nhighest priority node.\r\n\r\n* Added a new parameter for this option, and enabled by default.","created_at":"2019-09-26T06:50:56Z","updated_at":"2019-09-26T06:50:56Z","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/eBay/NuRaft/pulls/51/commits","review_comments_url":"https://api.github.com/repos/eBay/NuRaft/pulls/51/comments","review_comment_url":"https://api.github.com/repos/eBay/NuRaft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eBay/NuRaft/issues/51/comments","statuses_url":"https://api.github.com/repos/eBay/NuRaft/statuses/c63307d5de2131a503c32a60b6b2ae96a54550a3","head":{"label":"greensky00:pr1","ref":"pr1","sha":"c63307d5de2131a503c32a60b6b2ae96a54550a3","user":{"login":"greensky00","id":5001031,"node_id":"MDQ6VXNlcjUwMDEwMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5001031?v=4","gravatar_id":"","url":"https://api.github.com/users/greensky00","html_url":"https://github.com/greensky00","followers_url":"https://api.github.com/users/greensky00/followers","following_url":"https://api.github.com/users/greensky00/following{/other_user}","gists_url":"https://api.github.com/users/greensky00/gists{/gist_id}","starred_url":"https://api.github.com/users/greensky00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greensky00/subscriptions","organizations_url":"https://api.github.com/users/greensky00/orgs","repos_url":"https://api.github.com/users/greensky00/repos","events_url":"https://api.github.com/users/greensky00/events{/privacy}","received_events_url":"https://api.github.com/users/greensky00/received_events","type":"User","site_admin":false},"repo":{"id":199931141,"node_id":"MDEwOlJlcG9zaXRvcnkxOTk5MzExNDE=","name":"NuRaft","full_name":"greensky00/NuRaft","private":false,"owner":{"login":"greensky00","id":5001031,"node_id":"MDQ6VXNlcjUwMDEwMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5001031?v=4","gravatar_id":"","url":"https://api.github.com/users/greensky00","html_url":"https://github.com/greensky00","followers_url":"https://api.github.com/users/greensky00/followers","following_url":"https://api.github.com/users/greensky00/following{/other_user}","gists_url":"https://api.github.com/users/greensky00/gists{/gist_id}","starred_url":"https://api.github.com/users/greensky00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greensky00/subscriptions","organizations_url":"https://api.github.com/users/greensky00/orgs","repos_url":"https://api.github.com/users/greensky00/repos","events_url":"https://api.github.com/users/greensky00/events{/privacy}","received_events_url":"https://api.github.com/users/greensky00/received_events","type":"User","site_admin":false},"html_url":"https://github.com/greensky00/NuRaft","description":null,"fork":true,"url":"https://api.github.com/repos/greensky00/NuRaft","forks_url":"https://api.github.com/repos/greensky00/NuRaft/forks","keys_url":"https://api.github.com/repos/greensky00/NuRaft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greensky00/NuRaft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greensky00/NuRaft/teams","hooks_url":"https://api.github.com/repos/greensky00/NuRaft/hooks","issue_events_url":"https://api.github.com/repos/greensky00/NuRaft/issues/events{/number}","events_url":"https://api.github.com/repos/greensky00/NuRaft/events","assignees_url":"https://api.github.com/repos/greensky00/NuRaft/assignees{/user}","branches_url":"https://api.github.com/repos/greensky00/NuRaft/branches{/branch}","tags_url":"https://api.github.com/repos/greensky00/NuRaft/tags","blobs_url":"https://api.github.com/repos/greensky00/NuRaft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greensky00/NuRaft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greensky00/NuRaft/git/refs{/sha}","trees_url":"https://api.github.com/repos/greensky00/NuRaft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greensky00/NuRaft/statuses/{sha}","languages_url":"https://api.github.com/repos/greensky00/NuRaft/languages","stargazers_url":"https://api.github.com/repos/greensky00/NuRaft/stargazers","contributors_url":"https://api.github.com/repos/greensky00/NuRaft/contributors","subscribers_url":"https://api.github.com/repos/greensky00/NuRaft/subscribers","subscription_url":"https://api.github.com/repos/greensky00/NuRaft/subscription","commits_url":"https://api.github.com/repos/greensky00/NuRaft/commits{/sha}","git_commits_url":"https://api.github.com/repos/greensky00/NuRaft/git/commits{/sha}","comments_url":"https://api.github.com/repos/greensky00/NuRaft/comments{/number}","issue_comment_url":"https://api.github.com/repos/greensky00/NuRaft/issues/comments{/number}","contents_url":"https://api.github.com/repos/greensky00/NuRaft/contents/{+path}","compare_url":"https://api.github.com/repos/greensky00/NuRaft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greensky00/NuRaft/merges","archive_url":"https://api.github.com/repos/greensky00/NuRaft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greensky00/NuRaft/downloads","issues_url":"https://api.github.com/repos/greensky00/NuRaft/issues{/number}","pulls_url":"https://api.github.com/repos/greensky00/NuRaft/pulls{/number}","milestones_url":"https://api.github.com/repos/greensky00/NuRaft/milestones{/number}","notifications_url":"https://api.github.com/repos/greensky00/NuRaft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greensky00/NuRaft/labels{/name}","releases_url":"https://api.github.com/repos/greensky00/NuRaft/releases{/id}","deployments_url":"https://api.github.com/repos/greensky00/NuRaft/deployments","created_at":"2019-07-31T21:25:30Z","updated_at":"2019-08-02T06:16:31Z","pushed_at":"2019-09-26T06:50:48Z","git_url":"git://github.com/greensky00/NuRaft.git","ssh_url":"git@github.com:greensky00/NuRaft.git","clone_url":"https://github.com/greensky00/NuRaft.git","svn_url":"https://github.com/greensky00/NuRaft","homepage":null,"size":632,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eBay:master","ref":"master","sha":"1e8d5cbb6502461155c330b406f461683f67d43c","user":{"login":"eBay","id":3639281,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzkyODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3639281?v=4","gravatar_id":"","url":"https://api.github.com/users/eBay","html_url":"https://github.com/eBay","followers_url":"https://api.github.com/users/eBay/followers","following_url":"https://api.github.com/users/eBay/following{/other_user}","gists_url":"https://api.github.com/users/eBay/gists{/gist_id}","starred_url":"https://api.github.com/users/eBay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eBay/subscriptions","organizations_url":"https://api.github.com/users/eBay/orgs","repos_url":"https://api.github.com/users/eBay/repos","events_url":"https://api.github.com/users/eBay/events{/privacy}","received_events_url":"https://api.github.com/users/eBay/received_events","type":"Organization","site_admin":false},"repo":{"id":199921433,"node_id":"MDEwOlJlcG9zaXRvcnkxOTk5MjE0MzM=","name":"NuRaft","full_name":"eBay/NuRaft","private":false,"owner":{"login":"eBay","id":3639281,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzkyODE=","avatar_url":"https://avatars3.githubusercontent.com/u/3639281?v=4","gravatar_id":"","url":"https://api.github.com/users/eBay","html_url":"https://github.com/eBay","followers_url":"https://api.github.com/users/eBay/followers","following_url":"https://api.github.com/users/eBay/following{/other_user}","gists_url":"https://api.github.com/users/eBay/gists{/gist_id}","starred_url":"https://api.github.com/users/eBay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eBay/subscriptions","organizations_url":"https://api.github.com/users/eBay/orgs","repos_url":"https://api.github.com/users/eBay/repos","events_url":"https://api.github.com/users/eBay/events{/privacy}","received_events_url":"https://api.github.com/users/eBay/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eBay/NuRaft","description":"Raft core implementation as a replication library","fork":false,"url":"https://api.github.com/repos/eBay/NuRaft","forks_url":"https://api.github.com/repos/eBay/NuRaft/forks","keys_url":"https://api.github.com/repos/eBay/NuRaft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eBay/NuRaft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eBay/NuRaft/teams","hooks_url":"https://api.github.com/repos/eBay/NuRaft/hooks","issue_events_url":"https://api.github.com/repos/eBay/NuRaft/issues/events{/number}","events_url":"https://api.github.com/repos/eBay/NuRaft/events","assignees_url":"https://api.github.com/repos/eBay/NuRaft/assignees{/user}","branches_url":"https://api.github.com/repos/eBay/NuRaft/branches{/branch}","tags_url":"https://api.github.com/repos/eBay/NuRaft/tags","blobs_url":"https://api.github.com/repos/eBay/NuRaft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eBay/NuRaft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eBay/NuRaft/git/refs{/sha}","trees_url":"https://api.github.com/repos/eBay/NuRaft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eBay/NuRaft/statuses/{sha}","languages_url":"https://api.github.com/repos/eBay/NuRaft/languages","stargazers_url":"https://api.github.com/repos/eBay/NuRaft/stargazers","contributors_url":"https://api.github.com/repos/eBay/NuRaft/contributors","subscribers_url":"https://api.github.com/repos/eBay/NuRaft/subscribers","subscription_url":"https://api.github.com/repos/eBay/NuRaft/subscription","commits_url":"https://api.github.com/repos/eBay/NuRaft/commits{/sha}","git_commits_url":"https://api.github.com/repos/eBay/NuRaft/git/commits{/sha}","comments_url":"https://api.github.com/repos/eBay/NuRaft/comments{/number}","issue_comment_url":"https://api.github.com/repos/eBay/NuRaft/issues/comments{/number}","contents_url":"https://api.github.com/repos/eBay/NuRaft/contents/{+path}","compare_url":"https://api.github.com/repos/eBay/NuRaft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eBay/NuRaft/merges","archive_url":"https://api.github.com/repos/eBay/NuRaft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eBay/NuRaft/downloads","issues_url":"https://api.github.com/repos/eBay/NuRaft/issues{/number}","pulls_url":"https://api.github.com/repos/eBay/NuRaft/pulls{/number}","milestones_url":"https://api.github.com/repos/eBay/NuRaft/milestones{/number}","notifications_url":"https://api.github.com/repos/eBay/NuRaft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eBay/NuRaft/labels{/name}","releases_url":"https://api.github.com/repos/eBay/NuRaft/releases{/id}","deployments_url":"https://api.github.com/repos/eBay/NuRaft/deployments","created_at":"2019-07-31T20:05:08Z","updated_at":"2019-09-26T05:41:27Z","pushed_at":"2019-09-26T00:16:43Z","git_url":"git://github.com/eBay/NuRaft.git","ssh_url":"git@github.com:eBay/NuRaft.git","clone_url":"https://github.com/eBay/NuRaft.git","svn_url":"https://github.com/eBay/NuRaft","homepage":"","size":632,"stargazers_count":147,"watchers_count":147,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":19,"open_issues":5,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eBay/NuRaft/pulls/51"},"html":{"href":"https://github.com/eBay/NuRaft/pull/51"},"issue":{"href":"https://api.github.com/repos/eBay/NuRaft/issues/51"},"comments":{"href":"https://api.github.com/repos/eBay/NuRaft/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/eBay/NuRaft/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/eBay/NuRaft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eBay/NuRaft/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/eBay/NuRaft/statuses/c63307d5de2131a503c32a60b6b2ae96a54550a3"}},"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":1,"additions":213,"deletions":24,"changed_files":9}}
{"actor":{"display_login":"greensky00"}}