[MDEV-26929] Make the main testsuite runnable with optimizer trace enabled Created: 2021-10-28 Updated: 2021-11-09 Resolved: 2021-11-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | 10.4.23 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This is a part of One can run the entire main testuite with optimizer trace enabled like so:
On a 10.5-based tree, it fails just one test for me:
If we can get that test to pass, we can get the buildbot to run this. We can run non-main testsuites as well, but this is considered to have less benefit. |
| Comments |
| Comment by Sergei Petrunia [ 2021-10-28 ] | |||||||
|
idea #1: move the failing check (the check for the default @@optimizer_trace value) into a separate test, e.g. main/opt_trace_default.test
idea #2:
I'm not sure how to express this condition | |||||||
| Comment by Sergei Krivonos (Inactive) [ 2021-10-28 ] | |||||||
|
psergei, | |||||||
| Comment by Sergei Krivonos (Inactive) [ 2021-10-28 ] | |||||||
|
The test exists starting from 10.4 https://buildbot.mariadb.org/#/grid?branch=bb-10.4-MDEV-26929 | |||||||
| Comment by Sergei Petrunia [ 2021-10-29 ] | |||||||
|
Yes, indeed, optimizer trace was added in 10.4. My mistake. | |||||||
| Comment by Sergei Petrunia [ 2021-10-29 ] | |||||||
|
The patch that was pushed removes test coverage for compile-time optimizer_trace default. | |||||||
| Comment by Sergei Petrunia [ 2021-10-29 ] | |||||||
|
https://github.com/MariaDB/server/commit/d352bc5b6772f735a7e4bc540f578e0efc280e71 | |||||||
| Comment by Sergei Krivonos (Inactive) [ 2021-10-29 ] | |||||||
|
psergei, | |||||||
| Comment by Sergei Krivonos (Inactive) [ 2021-10-29 ] | |||||||
|
Hi elenst,
to buildbot | |||||||
| Comment by Sergei Krivonos (Inactive) [ 2021-10-29 ] | |||||||
|
psergei, the part2 looks ready for 10.4 to me. | |||||||
| Comment by Sergei Petrunia [ 2021-10-30 ] | |||||||
|
Pushed this into 10.4:
| |||||||
| Comment by Sergei Petrunia [ 2021-11-01 ] | |||||||
|
Keeping this open until it is merged into all versions. Then, we can ask Elena to enable the optimizer-trace-enabled run in the buildbot. | |||||||
| Comment by Sergei Petrunia [ 2021-11-09 ] | |||||||
|
I see that now the commit d352bc5b6772f735a7e4bc540f578e0efc280e71 has been merged to all versions. |