Rich Prohaska <prohaska7@gmail.com> writes:
I made a 10.0.0 branch on launchpad with tokudb in it. The following can be used to hit the assert in TC_LOG_MMAP::log_one_transaction. If
With the test case you supplied, it was easy to repeat the problem, thanks a lot! The attached patch fixes the issue for me, please try it and let me know if it solves the problem for you also. This bug (two bugs actually) is in all versions of MariaDB. Perhaps it is only possible to trigger it in 10.0, or at least easier to trigger, as it depends on the order in which things happen during commit. Thanks for finding and reporting this. As you have learned the hard way, this (multi-engine XA transactions with no binlog) is one of the not-so-well tested parts of the server, but if you keep the bug reports coming we will do our best to fix them ASAP. - Kristian.