"share type list" operation greatly depends on amount of records in
"shares" table. It leads to big slowness of just requesting list
of several records of share types. That can take dozens of seconds.
Main reason for it lays in usage of redundant "relationship" of "share
types" table to "shares" table. It is not used in Manila, so remove it.
Change-Id: I463b12e2eb7249b42835be063cd953b56ee7376d
Closes-Bug: #1506240
(cherry picked from commit f1ada3fe97942931c181ffe95df6233e3f3c9277)
Reviewed: https:/ /review. openstack. org/236135 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=f8d07309dd1 cfe95030fc0bc8f a670354bf09b0a
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit f8d07309dd1cfe9 5030fc0bc8fa670 354bf09b0a
Author: Valeriy Ponomaryov <email address hidden>
Date: Thu Oct 15 16:51:18 2015 +0300
Fix share type model scalability for get request
"share type list" operation greatly depends on amount of records in
"shares" table. It leads to big slowness of just requesting list
of several records of share types. That can take dozens of seconds.
Main reason for it lays in usage of redundant "relationship" of "share
types" table to "shares" table. It is not used in Manila, so remove it.
Change-Id: I463b12e2eb7249 b42835be063cd95 3b56ee7376d 1c181ffe95df623 3e3f3c9277)
Closes-Bug: #1506240
(cherry picked from commit f1ada3fe9794293