[MDEV-12893] innodb.log_data_file_size failed in buildbot with InnoDB: Database page corruption Created: 2017-05-24 Updated: 2017-09-18 Resolved: 2017-09-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Tests |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.27 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
winx64-debug |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/3657/steps/test/logs/stdio
|
| Comments |
| Comment by Marko Mäkelä [ 2017-09-18 ] |
|
The test is at fault. The main purpose of the test is to ensure that data files are extended to the desired size when applying redo log. The test correctly ensures that no redo log checkpoint occurred after the CREATE TABLE statements. But it does not ensure that nothing was written to the doublewrite buffer for the pages that the test is truncating on purpose. Apparently, sometimes some of the pages that the test is truncating would already have been written to the doublewrite buffer, causing failure. Under normal operation, nothing should be written to the doublewrite buffer before the data file has been extended to the appropriate size. Therefore, we should not touch the doublewrite recovery code, but instead make the test more robust, either by zeroing out the offending pages from the doublewrite buffer or by skipping the test if doublewrite buffer entries exist for the files that the test is about to truncate. |
| Comment by Marko Mäkelä [ 2017-09-18 ] |
|
I pushed a follow-up fix to work around |