commit dbc119b3ec8eff79de2c57ffd602d360040e49e7
Author: Luis A. Garcia <email address hidden>
Date: Tue Nov 5 02:22:30 2013 +0000
Retrieve volume image metadata using single query
The image metadata REST API contributions are making an individual db
call for each of the available volumes. When the number of volumes is
large the volume details call can take several minutes.
This patch changes the image metadata API contributions to take
advantage of the new db query to retrieve metadata in bulk.
Change-Id: I9a35438c1f38ea8a3d8f5b687ae58ba1f3f78121
Partial-Bug: #1197612
(cherry picked from commit 56e5805203a14acad78dc806247b5f0f4a22c9f8)
Reviewed: https:/ /review. openstack. org/56968 github. com/openstack/ cinder/ commit/ dbc119b3ec8eff7 9de2c57ffd602d3 60040e49e7
Committed: http://
Submitter: Jenkins
Branch: stable/havana
commit dbc119b3ec8eff7 9de2c57ffd602d3 60040e49e7
Author: Luis A. Garcia <email address hidden>
Date: Tue Nov 5 02:22:30 2013 +0000
Retrieve volume image metadata using single query
The image metadata REST API contributions are making an individual db
call for each of the available volumes. When the number of volumes is
large the volume details call can take several minutes.
This patch changes the image metadata API contributions to take
advantage of the new db query to retrieve metadata in bulk.
Change-Id: I9a35438c1f38ea 8a3d8f5b687ae58 ba1f3f78121 ad78dc806247b5f 0f4a22c9f8)
Partial-Bug: #1197612
(cherry picked from commit 56e5805203a14ac