20 Oct
2023
20 Oct
'23
1:51 p.m.
Kristian Nielsen via developers <developers@lists.mariadb.org> writes:
If it is just so that we can have this assertion, then that needs to be rolled back. We _really_ don't want to take/release N mutexes in release builds during LOCK_commit_ordered, just to have an assertion in debug builds.
I mean, it's fine to have the assertion to catch bugs, just we need to find some way to do it without the cost of mutex take/release under LOCK_commit_ordered. - Kristian.