Comment 12 for bug 1795463

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

Reviewed: https://review.opendev.org/688542
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=bad03feea9a8470c9fe55f1a925d83e026353989
Submitter: Zuul
Branch: stable/rocky

commit bad03feea9a8470c9fe55f1a925d83e026353989
Author: silvacarloss <email address hidden>
Date: Mon Apr 8 17:33:33 2019 -0300

    Fix pagination does not speed up queries bug

    This patch modifies the database api layer to fix the pagination
    slowness bug, which causes a delay while the administrator tries
    to list shares using the `--limit` option.
    This change was tested in a very busy environment with 800 shares.
    Before the change, the operation took about 25 seconds to be
    finished. Now, the operation takes about 3 seconds in the same
    environment.

    Change-Id: I89659452b0e033631f1318a2eabb7e120c9e5743
    Closes-bug: #1795463
    (cherry picked from commit 57edcbd1da4b61ce1a61db3be0d69755d968c36c)
    (cherry picked from commit 462b0e7461cdd00d51f15aacaa43854aeb0689f4)