MDEV-32780 : galera_as_slave_replay: assertion in the wsrep::transact…
…ion::before_rollback()
- [x] The Jira issue number for this PR is: MDEV-32780
Description
Test changes only because assertion reported is not reproducible anymore.
Release Notes
TODO: What should the release notes say about this change? Include any changed system variables, status variables or behaviour. Optionally list any https://mariadb.com/kb/ pages that need changing.
How can this PR be tested?
TODO: modify the automated test suite to verify that the PR causes MariaDB to behave as intended. Consult the documentation on "Writing good test cases".
If the changes are not amenable to automated testing, please explain why not and carefully describe how to test manually.
Basing the PR against the correct MariaDB version
- [ ] This is a new feature or a refactoring, and the PR is based against the
mainbranch. - [ x] This is a bug fix, and the PR is based against the earliest maintained branch in which the bug can be reproduced.
PR quality check
- [ x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
- [ x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.
@janlindstrom Thanks, but the fix does not include changes to the wsrep inserts or library code, it only includes changes to the test - yes, this will solve the problem with the test by bypassing the problematic place, but it will not fix anything for the user. The user should get diagnostics clearly showing him what he is doing wrong, without crashing on assertion. Therefore, I am returning the pull request to you for revision.
@sysprg Problem is that this test does not reproduce the crash not when it is unchanged. I did small changes to fortify it to make it pass as there was one result difference and one timeout. If I correctly remember assertion can happen if you have MyISAM changes inside a transaction, this can't anymore happen because (1) we run so that mysql.gtid_slave_pos table is InnoDB as it is on release binaries and (2) because multi-engine changes containing non-transactional engines are now restricted on Galera. Therefore, there is nothing to be fixed on server code or in library code in this case.
Thanks, the fix has been merged with the head revision: https://github.com/MariaDB/server/commit/d598ee3cf952e528a8b42261959360de637add2e