{"action":"closed","number":2716,"pull_request":{"url":"https://api.github.com/repos/fluent/fluentd/pulls/2716","id":350593871,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUwNTkzODcx","html_url":"https://github.com/fluent/fluentd/pull/2716","diff_url":"https://github.com/fluent/fluentd/pull/2716.diff","patch_url":"https://github.com/fluent/fluentd/pull/2716.patch","issue_url":"https://api.github.com/repos/fluent/fluentd/issues/2716","number":2716,"state":"closed","locked":false,"title":"Reload new config without restarting process","user":{"login":"ganmacs","id":5616899,"node_id":"MDQ6VXNlcjU2MTY4OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5616899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmacs","html_url":"https://github.com/ganmacs","followers_url":"https://api.github.com/users/ganmacs/followers","following_url":"https://api.github.com/users/ganmacs/following{/other_user}","gists_url":"https://api.github.com/users/ganmacs/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmacs/subscriptions","organizations_url":"https://api.github.com/users/ganmacs/orgs","repos_url":"https://api.github.com/users/ganmacs/repos","events_url":"https://api.github.com/users/ganmacs/events{/privacy}","received_events_url":"https://api.github.com/users/ganmacs/received_events","type":"User","site_admin":false},"body":"**Which issue(s) this PR fixes**: \r\nFixes https://github.com/fluent/fluentd/issues/2624\r\n\r\n**What this PR does / why we need it**: \r\n\r\nThis change make fluentd be able to reload new config without restarting process with SIGUSR2 signal. \r\n\r\nit's very lighter and safer than existing reloading feature. but it has 2 limitations.\r\n\r\n1.  A change to system_config is ignored because it needs to restart(kill/spawn) process. \r\n2. All plugins must not use class variable when restarting.\r\n\r\n**Docs Changes**:\r\n\r\nAdd USR2 description.\r\n\r\n**Release Note**: \r\n\r\nsame as title\r\n","created_at":"2019-12-09T08:54:29Z","updated_at":"2020-01-07T05:21:38Z","closed_at":"2020-01-07T05:21:37Z","merged_at":"2020-01-07T05:21:37Z","merge_commit_sha":"2800465af625f788a51a24d43e0a242665a9741c","assignee":{"login":"ganmacs","id":5616899,"node_id":"MDQ6VXNlcjU2MTY4OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5616899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmacs","html_url":"https://github.com/ganmacs","followers_url":"https://api.github.com/users/ganmacs/followers","following_url":"https://api.github.com/users/ganmacs/following{/other_user}","gists_url":"https://api.github.com/users/ganmacs/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmacs/subscriptions","organizations_url":"https://api.github.com/users/ganmacs/orgs","repos_url":"https://api.github.com/users/ganmacs/repos","events_url":"https://api.github.com/users/ganmacs/events{/privacy}","received_events_url":"https://api.github.com/users/ganmacs/received_events","type":"User","site_admin":false},"assignees":[{"login":"ganmacs","id":5616899,"node_id":"MDQ6VXNlcjU2MTY4OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5616899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmacs","html_url":"https://github.com/ganmacs","followers_url":"https://api.github.com/users/ganmacs/followers","following_url":"https://api.github.com/users/ganmacs/following{/other_user}","gists_url":"https://api.github.com/users/ganmacs/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmacs/subscriptions","organizations_url":"https://api.github.com/users/ganmacs/orgs","repos_url":"https://api.github.com/users/ganmacs/repos","events_url":"https://api.github.com/users/ganmacs/events{/privacy}","received_events_url":"https://api.github.com/users/ganmacs/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":109954839,"node_id":"MDU6TGFiZWwxMDk5NTQ4Mzk=","url":"https://api.github.com/repos/fluent/fluentd/labels/enhancement","name":"enhancement","color":"5319e7","default":true,"description":null}],"milestone":null,"commits_url":"https://api.github.com/repos/fluent/fluentd/pulls/2716/commits","review_comments_url":"https://api.github.com/repos/fluent/fluentd/pulls/2716/comments","review_comment_url":"https://api.github.com/repos/fluent/fluentd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluent/fluentd/issues/2716/comments","statuses_url":"https://api.github.com/repos/fluent/fluentd/statuses/d8b8bc6ad4aec438eba96a695a59266be03bcc34","head":{"label":"ganmacs:light-reload","ref":"light-reload","sha":"d8b8bc6ad4aec438eba96a695a59266be03bcc34","user":{"login":"ganmacs","id":5616899,"node_id":"MDQ6VXNlcjU2MTY4OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5616899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmacs","html_url":"https://github.com/ganmacs","followers_url":"https://api.github.com/users/ganmacs/followers","following_url":"https://api.github.com/users/ganmacs/following{/other_user}","gists_url":"https://api.github.com/users/ganmacs/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmacs/subscriptions","organizations_url":"https://api.github.com/users/ganmacs/orgs","repos_url":"https://api.github.com/users/ganmacs/repos","events_url":"https://api.github.com/users/ganmacs/events{/privacy}","received_events_url":"https://api.github.com/users/ganmacs/received_events","type":"User","site_admin":false},"repo":{"id":64659272,"node_id":"MDEwOlJlcG9zaXRvcnk2NDY1OTI3Mg==","name":"fluentd","full_name":"ganmacs/fluentd","private":false,"owner":{"login":"ganmacs","id":5616899,"node_id":"MDQ6VXNlcjU2MTY4OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5616899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmacs","html_url":"https://github.com/ganmacs","followers_url":"https://api.github.com/users/ganmacs/followers","following_url":"https://api.github.com/users/ganmacs/following{/other_user}","gists_url":"https://api.github.com/users/ganmacs/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmacs/subscriptions","organizations_url":"https://api.github.com/users/ganmacs/orgs","repos_url":"https://api.github.com/users/ganmacs/repos","events_url":"https://api.github.com/users/ganmacs/events{/privacy}","received_events_url":"https://api.github.com/users/ganmacs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ganmacs/fluentd","description":"Fluentd data collector","fork":true,"url":"https://api.github.com/repos/ganmacs/fluentd","forks_url":"https://api.github.com/repos/ganmacs/fluentd/forks","keys_url":"https://api.github.com/repos/ganmacs/fluentd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ganmacs/fluentd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ganmacs/fluentd/teams","hooks_url":"https://api.github.com/repos/ganmacs/fluentd/hooks","issue_events_url":"https://api.github.com/repos/ganmacs/fluentd/issues/events{/number}","events_url":"https://api.github.com/repos/ganmacs/fluentd/events","assignees_url":"https://api.github.com/repos/ganmacs/fluentd/assignees{/user}","branches_url":"https://api.github.com/repos/ganmacs/fluentd/branches{/branch}","tags_url":"https://api.github.com/repos/ganmacs/fluentd/tags","blobs_url":"https://api.github.com/repos/ganmacs/fluentd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ganmacs/fluentd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ganmacs/fluentd/git/refs{/sha}","trees_url":"https://api.github.com/repos/ganmacs/fluentd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ganmacs/fluentd/statuses/{sha}","languages_url":"https://api.github.com/repos/ganmacs/fluentd/languages","stargazers_url":"https://api.github.com/repos/ganmacs/fluentd/stargazers","contributors_url":"https://api.github.com/repos/ganmacs/fluentd/contributors","subscribers_url":"https://api.github.com/repos/ganmacs/fluentd/subscribers","subscription_url":"https://api.github.com/repos/ganmacs/fluentd/subscription","commits_url":"https://api.github.com/repos/ganmacs/fluentd/commits{/sha}","git_commits_url":"https://api.github.com/repos/ganmacs/fluentd/git/commits{/sha}","comments_url":"https://api.github.com/repos/ganmacs/fluentd/comments{/number}","issue_comment_url":"https://api.github.com/repos/ganmacs/fluentd/issues/comments{/number}","contents_url":"https://api.github.com/repos/ganmacs/fluentd/contents/{+path}","compare_url":"https://api.github.com/repos/ganmacs/fluentd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ganmacs/fluentd/merges","archive_url":"https://api.github.com/repos/ganmacs/fluentd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ganmacs/fluentd/downloads","issues_url":"https://api.github.com/repos/ganmacs/fluentd/issues{/number}","pulls_url":"https://api.github.com/repos/ganmacs/fluentd/pulls{/number}","milestones_url":"https://api.github.com/repos/ganmacs/fluentd/milestones{/number}","notifications_url":"https://api.github.com/repos/ganmacs/fluentd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ganmacs/fluentd/labels{/name}","releases_url":"https://api.github.com/repos/ganmacs/fluentd/releases{/id}","deployments_url":"https://api.github.com/repos/ganmacs/fluentd/deployments","created_at":"2016-08-01T10:46:27Z","updated_at":"2019-10-15T08:45:36Z","pushed_at":"2020-01-07T05:05:28Z","git_url":"git://github.com/ganmacs/fluentd.git","ssh_url":"git@github.com:ganmacs/fluentd.git","clone_url":"https://github.com/ganmacs/fluentd.git","svn_url":"https://github.com/ganmacs/fluentd","homepage":"http://www.fluentd.org/","size":16867,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"fluent:master","ref":"master","sha":"9ff9d79425b903cd1c16ce13c156b213ba47d5d7","user":{"login":"fluent","id":859518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1OTUxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/859518?v=4","gravatar_id":"","url":"https://api.github.com/users/fluent","html_url":"https://github.com/fluent","followers_url":"https://api.github.com/users/fluent/followers","following_url":"https://api.github.com/users/fluent/following{/other_user}","gists_url":"https://api.github.com/users/fluent/gists{/gist_id}","starred_url":"https://api.github.com/users/fluent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluent/subscriptions","organizations_url":"https://api.github.com/users/fluent/orgs","repos_url":"https://api.github.com/users/fluent/repos","events_url":"https://api.github.com/users/fluent/events{/privacy}","received_events_url":"https://api.github.com/users/fluent/received_events","type":"Organization","site_admin":false},"repo":{"id":1918677,"node_id":"MDEwOlJlcG9zaXRvcnkxOTE4Njc3","name":"fluentd","full_name":"fluent/fluentd","private":false,"owner":{"login":"fluent","id":859518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1OTUxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/859518?v=4","gravatar_id":"","url":"https://api.github.com/users/fluent","html_url":"https://github.com/fluent","followers_url":"https://api.github.com/users/fluent/followers","following_url":"https://api.github.com/users/fluent/following{/other_user}","gists_url":"https://api.github.com/users/fluent/gists{/gist_id}","starred_url":"https://api.github.com/users/fluent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluent/subscriptions","organizations_url":"https://api.github.com/users/fluent/orgs","repos_url":"https://api.github.com/users/fluent/repos","events_url":"https://api.github.com/users/fluent/events{/privacy}","received_events_url":"https://api.github.com/users/fluent/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fluent/fluentd","description":"Fluentd: Unified Logging Layer (project under CNCF)","fork":false,"url":"https://api.github.com/repos/fluent/fluentd","forks_url":"https://api.github.com/repos/fluent/fluentd/forks","keys_url":"https://api.github.com/repos/fluent/fluentd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluent/fluentd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluent/fluentd/teams","hooks_url":"https://api.github.com/repos/fluent/fluentd/hooks","issue_events_url":"https://api.github.com/repos/fluent/fluentd/issues/events{/number}","events_url":"https://api.github.com/repos/fluent/fluentd/events","assignees_url":"https://api.github.com/repos/fluent/fluentd/assignees{/user}","branches_url":"https://api.github.com/repos/fluent/fluentd/branches{/branch}","tags_url":"https://api.github.com/repos/fluent/fluentd/tags","blobs_url":"https://api.github.com/repos/fluent/fluentd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluent/fluentd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluent/fluentd/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluent/fluentd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluent/fluentd/statuses/{sha}","languages_url":"https://api.github.com/repos/fluent/fluentd/languages","stargazers_url":"https://api.github.com/repos/fluent/fluentd/stargazers","contributors_url":"https://api.github.com/repos/fluent/fluentd/contributors","subscribers_url":"https://api.github.com/repos/fluent/fluentd/subscribers","subscription_url":"https://api.github.com/repos/fluent/fluentd/subscription","commits_url":"https://api.github.com/repos/fluent/fluentd/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluent/fluentd/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluent/fluentd/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluent/fluentd/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluent/fluentd/contents/{+path}","compare_url":"https://api.github.com/repos/fluent/fluentd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluent/fluentd/merges","archive_url":"https://api.github.com/repos/fluent/fluentd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluent/fluentd/downloads","issues_url":"https://api.github.com/repos/fluent/fluentd/issues{/number}","pulls_url":"https://api.github.com/repos/fluent/fluentd/pulls{/number}","milestones_url":"https://api.github.com/repos/fluent/fluentd/milestones{/number}","notifications_url":"https://api.github.com/repos/fluent/fluentd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluent/fluentd/labels{/name}","releases_url":"https://api.github.com/repos/fluent/fluentd/releases{/id}","deployments_url":"https://api.github.com/repos/fluent/fluentd/deployments","created_at":"2011-06-19T08:41:40Z","updated_at":"2020-01-07T05:05:29Z","pushed_at":"2020-01-07T05:21:37Z","git_url":"git://github.com/fluent/fluentd.git","ssh_url":"git@github.com:fluent/fluentd.git","clone_url":"https://github.com/fluent/fluentd.git","svn_url":"https://github.com/fluent/fluentd","homepage":"https://www.fluentd.org/","size":17033,"stargazers_count":8701,"watchers_count":8701,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1020,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":191,"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":1020,"open_issues":191,"watchers":8701,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluent/fluentd/pulls/2716"},"html":{"href":"https://github.com/fluent/fluentd/pull/2716"},"issue":{"href":"https://api.github.com/repos/fluent/fluentd/issues/2716"},"comments":{"href":"https://api.github.com/repos/fluent/fluentd/issues/2716/comments"},"review_comments":{"href":"https://api.github.com/repos/fluent/fluentd/pulls/2716/comments"},"review_comment":{"href":"https://api.github.com/repos/fluent/fluentd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluent/fluentd/pulls/2716/commits"},"statuses":{"href":"https://api.github.com/repos/fluent/fluentd/statuses/d8b8bc6ad4aec438eba96a695a59266be03bcc34"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"repeatedly","id":16928,"node_id":"MDQ6VXNlcjE2OTI4","avatar_url":"https://avatars3.githubusercontent.com/u/16928?v=4","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false},"comments":4,"review_comments":10,"maintainer_can_modify":false,"commits":17,"additions":929,"deletions":138,"changed_files":15}}
{"actor":{"display_login":"repeatedly"}}