Guarantee that _dostore() does not leave a transaction in progress.
Put the tpc_begin() -> tpc_finish() in a try/except. If an error occurs, abort the current transaction and re-raise the error. It appears that some storages (well, only Standby Storage) has trouble shutting down if a transaction is in progress.
Showing
Please register or sign in to comment