]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: turn off all automatic transactions 61854/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 12 Feb 2025 02:28:40 +0000 (21:28 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Feb 2025 19:19:46 +0000 (14:19 -0500)
commitb7504a35b103bfbc9cc19ea563bffa8263d99fae
tree8c260780585d8b2148561d759989d835335c5b31
parent177f1a76274a98eba63888628a7ae3971cfe937b
pybind/mgr/mgr_module: turn off all automatic transactions

I misunderstood autocommit=False in prior patches. The sqlite3 binding will
still create transactions automatically which confused newer bindings using
autocommit.

So, turn off automatic transaction management completely to maintain backwards
compatibility.

Fixes: https://tracker.ceph.com/issues/69912
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit df49652987019d5eeec31c86332d8e69995d931a)
src/pybind/mgr/mgr_module.py