{"action":"created","issue":{"url":"https://api.github.com/repos/contiv/volplugin/issues/386","repository_url":"https://api.github.com/repos/contiv/volplugin","labels_url":"https://api.github.com/repos/contiv/volplugin/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/contiv/volplugin/issues/386/comments","events_url":"https://api.github.com/repos/contiv/volplugin/issues/386/events","html_url":"https://github.com/contiv/volplugin/pull/386","id":169289782,"number":386,"title":"api: fix some issues with the lock handler. See below.","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T04:41:19Z","updated_at":"2016-08-04T23:05:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/contiv/volplugin/pulls/386","html_url":"https://github.com/contiv/volplugin/pull/386","diff_url":"https://github.com/contiv/volplugin/pull/386.diff","patch_url":"https://github.com/contiv/volplugin/pull/386.patch"},"body":"A number of things changed:\r\n\r\n* Use locks are *never* taken in unlock mode. This corrected a number of\r\n  potential (but unproven) races when switching between the two modes.\r\n  Locked/unlocked can theoretically be runtime now.\r\n* Order of operations:\r\n  * TTL refresh is garbage collected\r\n  * the long-term use lock is taken\r\n  * the mount counter is checked\r\n  * mount occurs\r\n  * then the TTL refresh is restarted\r\n* This corrects situations where the TTL refresh would trump the permanent lock\r\n\r\nSigned-off-by: Erik Hollensbe <github@hollensbe.org>"},"comment":{"url":"https://api.github.com/repos/contiv/volplugin/issues/comments/237712165","html_url":"https://github.com/contiv/volplugin/pull/386#issuecomment-237712165","issue_url":"https://api.github.com/repos/contiv/volplugin/issues/386","id":237712165,"user":{"login":"yuva29","id":11082310,"avatar_url":"https://avatars.githubusercontent.com/u/11082310?v=3","gravatar_id":"","url":"https://api.github.com/users/yuva29","html_url":"https://github.com/yuva29","followers_url":"https://api.github.com/users/yuva29/followers","following_url":"https://api.github.com/users/yuva29/following{/other_user}","gists_url":"https://api.github.com/users/yuva29/gists{/gist_id}","starred_url":"https://api.github.com/users/yuva29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuva29/subscriptions","organizations_url":"https://api.github.com/users/yuva29/orgs","repos_url":"https://api.github.com/users/yuva29/repos","events_url":"https://api.github.com/users/yuva29/events{/privacy}","received_events_url":"https://api.github.com/users/yuva29/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T23:05:34Z","updated_at":"2016-08-04T23:05:34Z","body":"Code LGTM. \r\n\r\nYou can merge this now. We can talk about it further offline. "}}
{"actor":{"display_login":"yuva29"}}