commit f01e48557863a4b6d4e75fe368e0185652aab09f
Author: Sebastian Lohff <email address hidden>
Date: Wed Jun 19 16:21:19 2019 +0200
Improve share list speed using lazy='subquery'
lazy='immediate' leads to each relationship being collected when
it is accessed. This results in at least three extra queries when
we query for all share details. lazy='subquery' collects all data
when the query is executed. In this commit we only changed code for
improving the share list with details ("manila list") speed.
Change-Id: Ia61b108ece0817069737980a614cc6c15c1a3507
Closes-Bug: #1859785
Co-authored-by: Johannes Kulik <email address hidden>
Co-authored-by: Maurice Escher <email address hidden>
(cherry picked from commit 54c5667e6b4a37270c4aed64b9a5ebd5f31bfa16)
Reviewed: https:/ /review. opendev. org/704850 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=f01e4855786 3a4b6d4e75fe368 e0185652aab09f
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit f01e48557863a4b 6d4e75fe368e018 5652aab09f
Author: Sebastian Lohff <email address hidden>
Date: Wed Jun 19 16:21:19 2019 +0200
Improve share list speed using lazy='subquery'
lazy= 'immediate' leads to each relationship being collected when
it is accessed. This results in at least three extra queries when
we query for all share details. lazy='subquery' collects all data
when the query is executed. In this commit we only changed code for
improving the share list with details ("manila list") speed.
Change-Id: Ia61b108ece0817 069737980a614cc 6c15c1a3507 70c4aed64b9a5eb d5f31bfa16)
Closes-Bug: #1859785
Co-authored-by: Johannes Kulik <email address hidden>
Co-authored-by: Maurice Escher <email address hidden>
(cherry picked from commit 54c5667e6b4a372