[MDEV-8314] main.range_vs_index_merge_innodb is flaky Created: 2015-06-12 Updated: 2023-01-22 Resolved: 2023-01-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.0.19 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Gow | Assignee: | Sergei Petrunia |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The 'main.range_vs_index_merge_innodb' test relies upon EXPLAIN SELECT statements being deterministic, however with InnoDB this is not the case. Not only do the row counts given change (being estimates), but the query plan can as well. When, for instance, there are several possible indices, the query plan may select any of them:
Is the InnoDB version of this test required or would the normal 'main.range_vs_index_merge' test suffice for verifying the behaviour of the optimizer? |
| Comments |
| Comment by Elena Stepanova [ 2015-06-13 ] | |||||
|
We had somewhat similar problems (although not with this particular index) in buildbot, but it was quite long ago – in 2014. Unfortunately, the cross-reference report cannot display failures for this test, apparently because the output appears to be corrupted sometimes. | |||||
| Comment by Elena Stepanova [ 2023-01-22 ] | |||||
|
Last time we had similar failures on this test was in July 2021. Possibly this commit may have helped to reduce non-determinism.
Or maybe something else made the difference, because the commit went to 10.6+, but the failure hasn't happened anymore on 10.4-10.5 either. A similar issue was however seen once in 2022 on 10.3, but 10.3 goes EOL soon anyway. |