Comment 18 for bug 1926399

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/792295
Committed: https://opendev.org/openstack/manila/commit/3532f5d65432fab4d21fe2499474801104f9638e
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 3532f5d65432fab4d21fe2499474801104f9638e
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue May 18 18:58:16 2021 -0700

    Replace deprecated SQLAlchemy "with_lockmode"

    This method was deprecated in sqlalchemy 0.9 [1][2]
    and finally removed in version 1.4, which we'll
    be adopting very soon [3]. No end-user impact is
    expected, we're using a rudimentary form of the
    new "with_for_update" method.

    [1] https://docs.sqlalchemy.org/en/13/changelog/migration_09.html?highlight=with_lockmode#new-for-update-support-on-select-query
    [2] https://docs.sqlalchemy.org/en/13/orm/query.html#sqlalchemy.orm.query.Query.with_lockmode
    [3] http://lists.openstack.org/pipermail/openstack-discuss/2021-April/022094.html

    Change-Id: I0a3a89bd0741f6f91c39baaa68149551d8f4ce54
    Partial-Bug: #1926399
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit cadfe04b1f4a8abb12b7b652b187451710a73b81)