Comment 5 for bug 1506240

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/liberty)

Reviewed: https://review.openstack.org/236135
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f8d07309dd1cfe95030fc0bc8fa670354bf09b0a
Submitter: Jenkins
Branch: stable/liberty

commit f8d07309dd1cfe95030fc0bc8fa670354bf09b0a
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: I463b12e2eb7249b42835be063cd953b56ee7376d
    Closes-Bug: #1506240
    (cherry picked from commit f1ada3fe97942931c181ffe95df6233e3f3c9277)