Warn when using db_transaction/db_transaction_generator where you shouldn't.
I did it, it caused closed cursors that hang the process, that's hard to debug.
Migrated from D556 (view on Phabricator)
I did it, it caused closed cursors that hang the process, that's hard to debug.
Migrated from D556 (view on Phabricator)