payload: {"action":"closed","number":79941,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941","id":295819490,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk1ODE5NDkw","html_url":"https://github.com/kubernetes/kubernetes/pull/79941","diff_url":"https://github.com/kubernetes/kubernetes/pull/79941.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/79941.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/79941","number":79941,"state":"closed","locked":false,"title":"Use read lock for processorListener#shouldResync","user":{"login":"tedyu","id":235188,"node_id":"MDQ6VXNlcjIzNTE4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/235188?v=4","gravatar_id":"","url":"https://api.github.com/users/tedyu","html_url":"https://github.com/tedyu","followers_url":"https://api.github.com/users/tedyu/followers","following_url":"https://api.github.com/users/tedyu/following{/other_user}","gists_url":"https://api.github.com/users/tedyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tedyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedyu/subscriptions","organizations_url":"https://api.github.com/users/tedyu/orgs","repos_url":"https://api.github.com/users/tedyu/repos","events_url":"https://api.github.com/users/tedyu/events{/privacy}","received_events_url":"https://api.github.com/users/tedyu/received_events","type":"User","site_admin":false},"body":"**What type of PR is this?**\r\n/kind cleanup\r\n\r\n**What this PR does / why we need it**:\r\nIn processorListener#shouldResync, since the state of processorListener is not modified, obtaining read lock should suffice.\r\n\r\n```release-note\r\nNONE\r\n```\r\n","created_at":"2019-07-09T15:54:11Z","updated_at":"2019-08-02T16:58:23Z","closed_at":"2019-08-02T16:58:23Z","merged_at":null,"merge_commit_sha":"e590f788db100750787dab24500d21ef9b93b793","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hongchaodeng","id":920884,"node_id":"MDQ6VXNlcjkyMDg4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/920884?v=4","gravatar_id":"","url":"https://api.github.com/users/hongchaodeng","html_url":"https://github.com/hongchaodeng","followers_url":"https://api.github.com/users/hongchaodeng/followers","following_url":"https://api.github.com/users/hongchaodeng/following{/other_user}","gists_url":"https://api.github.com/users/hongchaodeng/gists{/gist_id}","starred_url":"https://api.github.com/users/hongchaodeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongchaodeng/subscriptions","organizations_url":"https://api.github.com/users/hongchaodeng/orgs","repos_url":"https://api.github.com/users/hongchaodeng/repos","events_url":"https://api.github.com/users/hongchaodeng/events{/privacy}","received_events_url":"https://api.github.com/users/hongchaodeng/received_events","type":"User","site_admin":false},{"login":"cheftako","id":947971,"node_id":"MDQ6VXNlcjk0Nzk3MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/947971?v=4","gravatar_id":"","url":"https://api.github.com/users/cheftako","html_url":"https://github.com/cheftako","followers_url":"https://api.github.com/users/cheftako/followers","following_url":"https://api.github.com/users/cheftako/following{/other_user}","gists_url":"https://api.github.com/users/cheftako/gists{/gist_id}","starred_url":"https://api.github.com/users/cheftako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheftako/subscriptions","organizations_url":"https://api.github.com/users/cheftako/orgs","repos_url":"https://api.github.com/users/cheftako/repos","events_url":"https://api.github.com/users/cheftako/events{/privacy}","received_events_url":"https://api.github.com/users/cheftako/received_events","type":"User","site_admin":false},{"login":"wojtek-t","id":10743879,"node_id":"MDQ6VXNlcjEwNzQzODc5","avatar_url":"https://avatars3.githubusercontent.com/u/10743879?v=4","gravatar_id":"","url":"https://api.github.com/users/wojtek-t","html_url":"https://github.com/wojtek-t","followers_url":"https://api.github.com/users/wojtek-t/followers","following_url":"https://api.github.com/users/wojtek-t/following{/other_user}","gists_url":"https://api.github.com/users/wojtek-t/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtek-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtek-t/subscriptions","organizations_url":"https://api.github.com/users/wojtek-t/orgs","repos_url":"https://api.github.com/users/wojtek-t/repos","events_url":"https://api.github.com/users/wojtek-t/events{/privacy}","received_events_url":"https://api.github.com/users/wojtek-t/received_events","type":"User","site_admin":false},{"login":"yliaog","id":32884155,"node_id":"MDQ6VXNlcjMyODg0MTU1","avatar_url":"https://avatars0.githubusercontent.com/u/32884155?v=4","gravatar_id":"","url":"https://api.github.com/users/yliaog","html_url":"https://github.com/yliaog","followers_url":"https://api.github.com/users/yliaog/followers","following_url":"https://api.github.com/users/yliaog/following{/other_user}","gists_url":"https://api.github.com/users/yliaog/gists{/gist_id}","starred_url":"https://api.github.com/users/yliaog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yliaog/subscriptions","organizations_url":"https://api.github.com/users/yliaog/orgs","repos_url":"https://api.github.com/users/yliaog/repos","events_url":"https://api.github.com/users/yliaog/events{/privacy}","received_events_url":"https://api.github.com/users/yliaog/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":477397086,"node_id":"MDU6TGFiZWw0NzczOTcwODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":122775691,"node_id":"MDU6TGFiZWwxMjI3NzU2OTE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/cleanup","name":"kind/cleanup","color":"c7def8","default":false},{"id":1111992057,"node_id":"MDU6TGFiZWwxMTExOTkyMDU3","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-priority","name":"needs-priority","color":"ededed","default":false},{"id":349530249,"node_id":"MDU6TGFiZWwzNDk1MzAyNDk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6","default":false},{"id":173493835,"node_id":"MDU6TGFiZWwxNzM0OTM4MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/api-machinery","name":"sig/api-machinery","color":"d2b48c","default":false},{"id":253450793,"node_id":"MDU6TGFiZWwyNTM0NTA3OTM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XS","name":"size/XS","color":"009900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/79941/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/ccb1e00e923b3a2f6f0293beb86d38cbadc1bf77","head":{"label":"tedyu:informer-resync","ref":"informer-resync","sha":"ccb1e00e923b3a2f6f0293beb86d38cbadc1bf77","user":{"login":"tedyu","id":235188,"node_id":"MDQ6VXNlcjIzNTE4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/235188?v=4","gravatar_id":"","url":"https://api.github.com/users/tedyu","html_url":"https://github.com/tedyu","followers_url":"https://api.github.com/users/tedyu/followers","following_url":"https://api.github.com/users/tedyu/following{/other_user}","gists_url":"https://api.github.com/users/tedyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tedyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedyu/subscriptions","organizations_url":"https://api.github.com/users/tedyu/orgs","repos_url":"https://api.github.com/users/tedyu/repos","events_url":"https://api.github.com/users/tedyu/events{/privacy}","received_events_url":"https://api.github.com/users/tedyu/received_events","type":"User","site_admin":false},"repo":{"id":183818511,"node_id":"MDEwOlJlcG9zaXRvcnkxODM4MTg1MTE=","name":"kubernetes","full_name":"tedyu/kubernetes","private":false,"owner":{"login":"tedyu","id":235188,"node_id":"MDQ6VXNlcjIzNTE4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/235188?v=4","gravatar_id":"","url":"https://api.github.com/users/tedyu","html_url":"https://github.com/tedyu","followers_url":"https://api.github.com/users/tedyu/followers","following_url":"https://api.github.com/users/tedyu/following{/other_user}","gists_url":"https://api.github.com/users/tedyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tedyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedyu/subscriptions","organizations_url":"https://api.github.com/users/tedyu/orgs","repos_url":"https://api.github.com/users/tedyu/repos","events_url":"https://api.github.com/users/tedyu/events{/privacy}","received_events_url":"https://api.github.com/users/tedyu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tedyu/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/tedyu/kubernetes","forks_url":"https://api.github.com/repos/tedyu/kubernetes/forks","keys_url":"https://api.github.com/repos/tedyu/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tedyu/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tedyu/kubernetes/teams","hooks_url":"https://api.github.com/repos/tedyu/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/tedyu/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/tedyu/kubernetes/events","assignees_url":"https://api.github.com/repos/tedyu/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/tedyu/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/tedyu/kubernetes/tags","blobs_url":"https://api.github.com/repos/tedyu/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tedyu/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tedyu/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/tedyu/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tedyu/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/tedyu/kubernetes/languages","stargazers_url":"https://api.github.com/repos/tedyu/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/tedyu/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/tedyu/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/tedyu/kubernetes/subscription","commits_url":"https://api.github.com/repos/tedyu/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/tedyu/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/tedyu/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/tedyu/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/tedyu/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/tedyu/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tedyu/kubernetes/merges","archive_url":"https://api.github.com/repos/tedyu/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tedyu/kubernetes/downloads","issues_url":"https://api.github.com/repos/tedyu/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/tedyu/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/tedyu/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/tedyu/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tedyu/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/tedyu/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/tedyu/kubernetes/deployments","created_at":"2019-04-27T20:25:25Z","updated_at":"2019-04-27T20:26:01Z","pushed_at":"2019-08-02T11:33:19Z","git_url":"git://github.com/tedyu/kubernetes.git","ssh_url":"git@github.com:tedyu/kubernetes.git","clone_url":"https://github.com/tedyu/kubernetes.git","svn_url":"https://github.com/tedyu/kubernetes","homepage":"https://kubernetes.io","size":663890,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"kubernetes:master","ref":"master","sha":"b130ff450232eaf9100548aa08295168871a4ee9","user":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"node_id":"MDEwOlJlcG9zaXRvcnkyMDU4MDQ5OA==","name":"kubernetes","full_name":"kubernetes/kubernetes","private":false,"owner":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kubernetes/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2019-08-02T16:30:39Z","pushed_at":"2019-08-02T16:39:18Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"https://kubernetes.io","size":881689,"stargazers_count":56111,"watchers_count":56111,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19540,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3211,"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":19540,"open_issues":3211,"watchers":56111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/79941"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/79941"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/79941/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/79941/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/ccb1e00e923b3a2f6f0293beb86d38cbadc1bf77"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"unstable","merged_by":null,"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
other: {"actor":{"display_login":"tedyu"}}