{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19868","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19868/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19868/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19868/events","html_url":"https://github.com/kubernetes/kubernetes/pull/19868","id":127723780,"number":19868,"title":"Fixed persistent volume claim controllers processing an old claim.","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/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-ok-to-merge","name":"needs-ok-to-merge","color":"ededed"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2016-01-20T16:37:40Z","updated_at":"2016-01-21T16:28:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19868","html_url":"https://github.com/kubernetes/kubernetes/pull/19868","diff_url":"https://github.com/kubernetes/kubernetes/pull/19868.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/19868.patch"},"body":"Fixes #19860 (it may be easier to look at the issue to see exact sequence\r\nto reproduce the bug and understand the fix).\r\n\r\n\r\nWhen `PersistentVolumeProvisionerController.reconcileClaim()` is called with the\r\nsame claim in short succession (e.g. the claim is created by an user and\r\nat the same time periodic check of all claims is scheduled), the second\r\n`reconcileClaim()` call gets an old copy of the claim as its parameter.\r\n\r\nThe method should always reload the claim to get a fresh copy with all\r\nannotations, possibly added by previous `reconcileClaim()` call.\r\n\r\n\r\n\r\nThe same applies to `PersistentVolumeClaimBinder.syncClaim()`."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/173624943","html_url":"https://github.com/kubernetes/kubernetes/pull/19868#issuecomment-173624943","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19868","id":173624943,"user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T16:28:59Z","updated_at":"2016-01-21T16:28:59Z","body":"@saad-ali would you like me to do this review? I can, ETA is early next week though"}}