[MDEV-17049] Enable --suite=innodb_undo on buildbot Created: 2018-08-23 Updated: 2018-11-20 Resolved: 2018-09-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Tests |
| Fix Version/s: | 10.3.10, 10.2.19 |
| Type: | Task | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tests | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
The tests in the innodb_undo suite are apparently not run on buildbot, because I do not remember seeing any failures. Furthermore, these tests should be rewritten to use wait_all_purged.inc instead of using innodb_fast_shutdown=0. Not only because restarting the server makes the test slower and harder to debug, but also because on 10.2, due to |
| Comments |
| Comment by Marko Mäkelä [ 2018-08-23 ] |
|
Once the tests are stable enough, they should be added to my @DEFAULT_SUITES in mysql-test/mysql-test-run.pl and possibly also to mysql-test/collections/buildbot_suites.bat for coverage on Windows. |
| Comment by Marko Mäkelä [ 2018-08-28 ] |
|
As part of |
| Comment by Marko Mäkelä [ 2018-08-28 ] |
|
The test innodb_undo.truncate is a subset of innodb_undo.truncate_multi_client, so the two tests can be merged. That would leave 2 tests in the innodb_undo suite. It is better to move those tests to the innodb suite, for example: |
| Comment by Marko Mäkelä [ 2018-08-29 ] |
|
I figured out the reason why the message "Truncation did not happen" is occasionally reported. There was no global status variable for reporting the number of undo tablespace truncation operations. The test could at most wait for the history list length to go to 0, but the actual truncation of the undo tablespace would happen later. After adding a global status variable, the truncation reliably works for me with innodb_page_size 4k, 8k, 16k, and sometimes with 32k. For 64k, the amount of undo log generated by the test is too small, and the undo log tablespaces are not growing enough. |