{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/4072","labels_url":"https://api.github.com/repos/juju/juju/issues/4072/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/4072/comments","events_url":"https://api.github.com/repos/juju/juju/issues/4072/events","html_url":"https://github.com/juju/juju/pull/4072","id":125879083,"number":4072,"title":"Store lists of image metadata atomically","user":{"login":"axw","id":843579,"avatar_url":"https://avatars.githubusercontent.com/u/843579?v=3","gravatar_id":"","url":"https://api.github.com/users/axw","html_url":"https://github.com/axw","followers_url":"https://api.github.com/users/axw/followers","following_url":"https://api.github.com/users/axw/following{/other_user}","gists_url":"https://api.github.com/users/axw/gists{/gist_id}","starred_url":"https://api.github.com/users/axw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axw/subscriptions","organizations_url":"https://api.github.com/users/axw/orgs","repos_url":"https://api.github.com/users/axw/repos","events_url":"https://api.github.com/users/axw/events{/privacy}","received_events_url":"https://api.github.com/users/axw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T06:00:20Z","updated_at":"2016-01-11T06:40:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/4072","html_url":"https://github.com/juju/juju/pull/4072","diff_url":"https://github.com/juju/juju/pull/4072.diff","patch_url":"https://github.com/juju/juju/pull/4072.patch"},"body":"The provisioner will fetch image metadata from state,\nand if there is some, use that. Only if there are no\nmetadata matching the search criteria will it fall\nback to searching the public image metadata.\n\nTherefore, the provisioner should not be allowed to\nsee partial sets of image metadata, or it may not\nsee the subset that it is interested in. We are\ncurrently saving image metadata one at a time; we\nchange it to save sets of metadata atomically.\n\nFixes https://bugs.launchpad.net/juju-core/+bug/1528932\n\n(Review request: http://reviews.vapour.ws/r/3491/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/170444869","html_url":"https://github.com/juju/juju/pull/4072#issuecomment-170444869","issue_url":"https://api.github.com/repos/juju/juju/issues/4072","id":170444869,"user":{"login":"axw","id":843579,"avatar_url":"https://avatars.githubusercontent.com/u/843579?v=3","gravatar_id":"","url":"https://api.github.com/users/axw","html_url":"https://github.com/axw","followers_url":"https://api.github.com/users/axw/followers","following_url":"https://api.github.com/users/axw/following{/other_user}","gists_url":"https://api.github.com/users/axw/gists{/gist_id}","starred_url":"https://api.github.com/users/axw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axw/subscriptions","organizations_url":"https://api.github.com/users/axw/orgs","repos_url":"https://api.github.com/users/axw/repos","events_url":"https://api.github.com/users/axw/events{/privacy}","received_events_url":"https://api.github.com/users/axw/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T06:40:12Z","updated_at":"2016-01-11T06:40:12Z","body":"$$merge$$"}}