[MDEV-22119] main.innodb_ext_key fails sporadically Created: 2020-04-02 Updated: 2020-06-16 Resolved: 2020-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Tests |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Otto Kekäläinen | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In https://buildbot.mariadb.org/#/builders/27/builds/4241 (ubuntu-1604) I noted:
I have not seen this before, I suspect it is a recent regression on the 10.5 branch. |
| Comments |
| Comment by Marko Mäkelä [ 2020-04-02 ] | |||||||||||||||||||||||||||||||||||||||
|
otto, I noted a failure elsewhere in main.innodb_ext_key in In the buildbot.askmonty.org cross-reference, I was unable to find anything similar to exactly that type of failure. I only saw a couple 10.5 failures that look similar to the one I linked in That said, this failure could still share a root cause with | |||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-04-23 ] | |||||||||||||||||||||||||||||||||||||||
|
Temporarily disabled in https://github.com/MariaDB/server/commit/6f0b621caf76cf636771cab2e78b6e1846b31c78 - we can't have this keeping the CI red permanently, that halts all other quality assurance / testing work. Please fix and re-enable when you have a chance. | |||||||||||||||||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-05-29 ] | |||||||||||||||||||||||||||||||||||||||
|
On my first phase of investigation I could not reproduce this failure on the current 10.5 and also on the commit which disabled this test. | |||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-05-30 ] | |||||||||||||||||||||||||||||||||||||||
|
vladbogo Can you help and provide instructions on how to reproduce the build https://buildbot.mariadb.org/#/builders/27/builds/4241 ? Since the CI systems is consistently (or at least was) producing this error, and the CI environment is a fully standardized and codified environment, reproducing this error should be trivial. | |||||||||||||||||||||||||||||||||||||||
| Comment by Vlad Bogolin [ 2020-06-04 ] | |||||||||||||||||||||||||||||||||||||||
|
otto The dockerfile that sets up the environment can be found here https://github.com/MariaDB/mariadb.org-tools/blob/master/buildbot.mariadb.org/dockerfiles/ubuntu-1604.dockerfile. The steps to reproduce would be: 1) build the image associated with the docker file (e.g. docker build -t ubuntu-1604 --file ubuntu-1604.dockerfile .); 2) then start a container (e.g. docker run --user root -it ubuntu-1604 bash). 3) Finally, just fetch the tarball that the builder fetches (see the "fetch_tarball" step). Unfortunately, only one month of history is kept due to space limitations so anything older than that I assume can only be reproduced by reverting git. | |||||||||||||||||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-06-11 ] | |||||||||||||||||||||||||||||||||||||||
|
Well i checked today on buildbot So i saw the cost of the plan in the optimizer_trace for table t2
So the cost are 12.145 and 12.6 which is very close and due to the statistics from INNODB we may be getting different plans, so increasing the rows would be the best option here. After increasing the rows in table t2 (the ones that would not satify the range), I get
and
| |||||||||||||||||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-06-11 ] | |||||||||||||||||||||||||||||||||||||||
|
Patch | |||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2020-06-11 ] | |||||||||||||||||||||||||||||||||||||||
|
Btw, the test is currently not listed in mysql-test/unstable-tests. Not sure what has removed Otto's commit (a merge?) | |||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2020-06-11 ] | |||||||||||||||||||||||||||||||||||||||
|
Ok to push. |