]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: disable sqlite3/python autocommit 56997/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 17 Apr 2024 19:52:36 +0000 (15:52 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 29 Apr 2024 20:33:32 +0000 (16:33 -0400)
commit6eacfe96625e272fdb9094ab8753e70ec163c04d
treeea2d76855ea67df2fa9422463bba2a98d0fdbcaa
parentfb82b6d35a734cbf3c27e4dbc5e6eb2eceb30759
pybind/mgr: disable sqlite3/python autocommit

SQLite3 and python's binding were both committing transactions at unintended
points. Turn it off and stop using executescript.

Fixes: https://tracker.ceph.com/issues/65494
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/devicehealth/module.py
src/pybind/mgr/mgr_module.py