]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: turn off all automatic transactions 61763/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 12 Feb 2025 02:28:40 +0000 (21:28 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 12 Feb 2025 02:48:25 +0000 (21:48 -0500)
commitdf49652987019d5eeec31c86332d8e69995d931a
treec5d05969b6618e1b82d8d174b9289c7c4d47e354
parent8f415be4a8196c79ac1d613da155bc755fe6d0ae
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>
src/pybind/mgr/mgr_module.py