"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.
Reviewed: https:/ /review. openstack. org/235364 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=f1ada3fe979 42931c181ffe95d f6233e3f3c9277
Committed: https:/
Submitter: Jenkins
Branch: master
commit f1ada3fe9794293 1c181ffe95df623 3e3f3c9277
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
Closes-Bug: #1506240