{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26966","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26966/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26966/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26966/events","html_url":"https://github.com/kubernetes/kubernetes/issues/26966","id":158943146,"number":26966,"title":"Race in delta_fifo on initial sync","user":{"login":"jsafrane","id":1745006,"avatar_url":"https://avatars.githubusercontent.com/u/1745006?v=3","gravatar_id":"","url":"https://api.github.com/users/jsafrane","html_url":"https://github.com/jsafrane","followers_url":"https://api.github.com/users/jsafrane/followers","following_url":"https://api.github.com/users/jsafrane/following{/other_user}","gists_url":"https://api.github.com/users/jsafrane/gists{/gist_id}","starred_url":"https://api.github.com/users/jsafrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsafrane/subscriptions","organizations_url":"https://api.github.com/users/jsafrane/orgs","repos_url":"https://api.github.com/users/jsafrane/repos","events_url":"https://api.github.com/users/jsafrane/events{/privacy}","received_events_url":"https://api.github.com/users/jsafrane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/flake","name":"kind/flake","color":"f7c6c7"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI-API%20Machinery%20SIG","name":"team/CSI-API Machinery SIG","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-06-07T14:50:49Z","updated_at":"2016-06-08T23:58:23Z","closed_at":null,"body":"Controller  (result of `framework.NewInformer()`) does not get deletion event when it is loading initial set of objects (say PersistentVolumes) from etcd and at the same time a PersistentVolume in etcd is deleted. This deleted PersistentVolume is kept in controller cache and it is periodically updated.\r\n\r\nI traced it down to this TODO: https://github.com/kubernetes/kubernetes/blob/master/pkg/client/cache/delta_fifo.go#L193\r\n\r\nAt this point, `f.knownObjects` is empty, it's reference to controller cache which is being filled just now and thus the event is thrown away. Btw, some log would be very nice here, I spent almost a day looking for this spot.\r\n\r\nThis causes unit test flakes in PersistentVolume controller, I test there that deletion event triggers appropriate behavior. I delete my test volume just after the controller starts and sometimes I don't get the event. Reading TODO note, I'd rather receive a deletion event twice instead of not receiving it at all.\r\n\r\nAssigning directly to @lavalamp, he's in the TODO note."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/224766383","html_url":"https://github.com/kubernetes/kubernetes/issues/26966#issuecomment-224766383","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26966","id":224766383,"user":{"login":"matchstick","id":19715963,"avatar_url":"https://avatars.githubusercontent.com/u/19715963?v=3","gravatar_id":"","url":"https://api.github.com/users/matchstick","html_url":"https://github.com/matchstick","followers_url":"https://api.github.com/users/matchstick/followers","following_url":"https://api.github.com/users/matchstick/following{/other_user}","gists_url":"https://api.github.com/users/matchstick/gists{/gist_id}","starred_url":"https://api.github.com/users/matchstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matchstick/subscriptions","organizations_url":"https://api.github.com/users/matchstick/orgs","repos_url":"https://api.github.com/users/matchstick/repos","events_url":"https://api.github.com/users/matchstick/events{/privacy}","received_events_url":"https://api.github.com/users/matchstick/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T23:58:23Z","updated_at":"2016-06-08T23:58:23Z","body":"@lavalamp for 1.3 triage"}}
{"actor":{"display_login":"matchstick"}}