[MDEV-12123] Page contains nonzero PAGE_MAX_TRX_ID Created: 2017-02-24 Updated: 2024-01-19 Resolved: 2017-04-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.5 |
| Fix Version/s: | 10.2.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-ga | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
The field PAGE_MAX_TRX_ID only matters in secondary index leaf pages. It was expected to be 0 on all other pages until the field is put into some other use. When running innodb.innodb-wl5522-debug or innodb_zip.wl5522_debug_zip with innodb_page_size=4k, an assertion in btr_page_reorganize_low() is failing:
An easy fix would be to relax the assertion:
But I would like to study why this happens. Maybe we are not clearing PAGE_MAX_TRX_ID when splitting a secondary index leaf page. |
| Comments |
| Comment by Marko Mäkelä [ 2017-02-24 ] | |||
|
With innodb_page_size=32k and innodb_page_size=64k, also the relaxed assertion is failing for innodb.innodb-wl5522-debug, for the clustered index.
| |||
| Comment by Marko Mäkelä [ 2017-04-08 ] | |||
| Comment by Marko Mäkelä [ 2017-04-17 ] | |||
|
bb-10.2-marko rebased to latest 10.2 (fixing a result after | |||
| Comment by Jan Lindström (Inactive) [ 2017-04-19 ] | |||
|
ok to push. | |||
| Comment by Marko Mäkelä [ 2017-04-19 ] | |||
|
This bug impacts |