[MDEV-7139] Sporadic failure in innodb.innodb_corrupt_bit on P8 Created: 2014-11-19 Updated: 2016-06-08 Resolved: 2016-06-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB, Tests |
| Affects Version/s: | 5.5, 10.0 |
| Fix Version/s: | 5.5.50 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot, tests | ||
| Issue Links: |
|
||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/bintar-rhel7-p8-debug/builds/12/steps/test/logs/stdio
So far it happened twice, one time above on 10.0 / bintar-rhel7-p8-debug, and another one on 5.5 / bintar-trusty-p8-debug. Apparently there are no logs from the other one, but it can be seen in Cross Reference report:
I find it highly suspicious that both times the failure happened on P8. It's a plain test, there should be no race conditions involved, so there must be some other reason (build problems? environmental?). In any case, it's worth investigating. |
| Comments |
| Comment by Sergey Vojtovich [ 2015-02-06 ] | ||||||||||||||||||||||||||||||
|
The problem is reproducible on x86 using 5.5/r4376. But it takes hours to fail:
On PPC64 the problem is a bit easier to reproduce. 5.5/r4421 fails within an hour with the following simplified test:
The problem seem to be in guts of InnoDB btree implementation. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-09 ] | ||||||||||||||||||||||||||||||
|
Reproducible with 5.5 up to revision 4423 using my laptop:
| ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-09 ] | ||||||||||||||||||||||||||||||
|
I can repeat this only if I use debug build and innodb_change_buffering_debug=1; Test case intentionally tryes to insert duplicate key entry to index and still continue, there is some bug on insert buffering, not sure if that is visible only when this debug option is set. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-09 ] | ||||||||||||||||||||||||||||||
|
revno: 4424 The testcase fails randomly due to ibuf merge happening in the background. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2016-02-04 ] | ||||||||||||||||||||||||||||||
|
Ok, after increasing the number of pad tables on test I can repeat this on my laptop. But then, how critical this really is as it is only debug build and instrumented failure case ? | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2016-02-04 ] | ||||||||||||||||||||||||||||||
|
Still repeatable. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2016-06-08 ] | ||||||||||||||||||||||||||||||
|
I will fix this using different kind of instrumentation than ibuf_debug, that way this test is a lot more repeatable and consistent. | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2016-06-08 ] | ||||||||||||||||||||||||||||||
|
commit 0f252702b15dfb5d90446fd49c9e28aa93424eb1 Use direct persistent index corruption set on InnoDB dictionary |