Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
This should be doable when MDEV-22593 is completed. Please also make them private so that they're not abused for other purposes.
As part of this cleanup, I think that it is acceptable to move trx_sys.mutex to somewhere else, but in 10.5, we must not change either the type of that mutex or the access patterns. In particular, innobase_kill_query() must hold both the equivalent of trx_sys.mutex and the trx_t::mutex. In some cases, the state change of trx_t::commit_in_memory() is only protected indirectly by trx_sys.mutex.