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.
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/792295 /opendev. org/openstack/ manila/ commit/ 3532f5d65432fab 4d21fe249947480 1104f9638e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 3532f5d65432fab 4d21fe249947480 1104f9638e
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.sqlalchem y.org/en/ 13/changelog/ migration_ 09.html? highlight= with_lockmode# new-for- update- support- on-select- query /docs.sqlalchem y.org/en/ 13/orm/ query.html# sqlalchemy. orm.query. Query.with_ lockmode lists.openstack .org/pipermail/ openstack- discuss/ 2021-April/ 022094. html
[2] https:/
[3] http://
Change-Id: I0a3a89bd0741f6 f91c39baaa68149 551d8f4ce54 b12b7b652b18745 1710a73b81)
Partial-Bug: #1926399
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit cadfe04b1f4a8ab