Comment 2 for bug 1434578

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/171674
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=4734d8351389f61c575df812401eca561c2c0dbb
Submitter: Jenkins
Branch: master

commit 4734d8351389f61c575df812401eca561c2c0dbb
Author: Kamil Rykowski <email address hidden>
Date: Wed Apr 8 16:29:50 2015 +0200

    Reduce DB calls when getting an image

    Right now if you want to get a single image, two queries need to be
    executed:
    - Get image + associated locations and properties
    - Get associated tags for image

    Proposed solution combines these two queries into single one which gets
    image and all related data - locations, properties and tags. Similar
    pattern has been already implemented when querying for list of images.

    Change-Id: Ic4424bb1eb1769d8f621ebe111d95961ecf08479
    Closes-Bug: 1434578