[MDEV-13266] Race condition in ANALYZE TABLE / statistics collection, main.stat_tables_par failed in buildbot with wrong result Created: 2017-07-06 Updated: 2020-05-05 Resolved: 2020-05-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements, Tests |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.2.32, 10.3.23, 10.4.13, 10.5.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 10.2.12 | ||||||||||||||||
| Description |
|
Also reproducible locally by running the test with --repeat=N with a big enough N.
First recorded occurrences in buildbot are of August 2016. Not reproducible on 10.1. |
| Comments |
| Comment by Elena Stepanova [ 2017-08-05 ] | ||||||||||||||||||||||||||||||||||||||||||
|
The failure starts from the timed out sync point. We don't see it normally because warnings and result sets are disabled there:
However, sync points are irrelevant. The attached simplified version of the same test without sync points still hits the same error.
I think it's not a test problem, but a genuine race condition in the code, which requires proper debugging. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2017-10-28 ] | ||||||||||||||||||||||||||||||||||||||||||
|
now on 10.3 http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/10176/steps/test_2/logs/stdio | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Aleksey Midenkov [ 2019-10-17 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Reproduced locally on 10.5. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-04-12 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Patch | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2020-04-30 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Ok to push after the request in the review email is done. |