[MDEV-22958] innodb.instant_alter_debug fails in buildbot with wrong result Created: 2020-06-19 Updated: 2020-10-27 Resolved: 2020-10-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Tests |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.2.35, 10.3.26, 10.4.16, 10.5.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/19611
|
| Comments |
| Comment by Marko Mäkelä [ 2020-09-03 ] |
|
This seems to occur most often on win32-debug, but also kvm-fulltest2 is failing every now and then. I think that only with an rr replay trace we could fix this. Failures are rather infrequent, about once in one or two weeks. |
| Comment by Marko Mäkelä [ 2020-09-11 ] |
|
I analyzed an rr replay trace for a similar failure of innodb.undo_truncate. In that trace, the history was eventually shrunk to 0, shortly before the server was killed. The test had failed with a result difference showing a history list length of 3. There might be no actual hang in the server, and could we merely have an overloaded system. It certainly does not help to ask the server ‘are we there yet? give me a full status report’ 10 times per second, throwing out most of the lengthy SHOW ENGINE INNODB STATUS output. wlad suggested that we could introduce a special SET GLOBAL variable for waiting for the purge to complete. It could be useful also for end users who want to ensure that any purge of history will complete before starting something special, such as executing a large join that is making extensive use of secondary indexes. Purge lag can really hurt such operations; see |
| Comment by Marko Mäkelä [ 2020-10-27 ] |
|
This should be fixed by |