]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: turn off all automatic transactions 57190/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 12 Feb 2025 02:28:40 +0000 (21:28 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 25 Feb 2025 16:17:16 +0000 (11:17 -0500)
commitbc619ac1860b6c9ee0be31bd6cd25b5b39940f1a
tree387388bdeec9d68ffb792e0c4870f78628b7dc22
parentad0266f3a46bce56581a1e71958be975a06d2969
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