Bug #44114 | Falcon recovery Error: page 5342/1 wrong page type, expected 5 got 511 | ||
---|---|---|---|
Submitted: | 6 Apr 2009 13:15 | Modified: | 15 May 2009 15:52 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0-falcon-team | OS: | Any |
Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
[6 Apr 2009 13:15]
Philip Stoev
[6 Apr 2009 13:29]
Philip Stoev
Tablespace before recovery http://mysql-systemqa.s3.amazonaws.com/bug44114-2.zip
[6 Apr 2009 13:42]
Philip Stoev
This failure comes in the following 4 forms: [Falcon] Error: page 569/1 wrong page type, expected 5 got 2596 [Falcon] Error: page 1906/1 wrong page type, expected 5 got 7 [Falcon] Error: page 1104/1 wrong page type, expected 5 got 9 [Falcon] Error: page 21/1 wrong page type, expected 5 got 511 and is very widespread in PB2 with dozens of occurrences, including with default Falcon startup options.
[7 Apr 2009 17:44]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/71568 3105 Vladislav Vaintroub 2009-04-07 Bug #44114 Falcon recovery Error: page 5342/1 wrong page type, expected 5 got 511 This patch makes sure pages written are valid (at least they have valid page types). Falcon will assert if garbage data is written to the tablespaces. This will make errors like "got page type 511" impossible. The actual error that causes page corruption will be simpler to find.
[7 Apr 2009 18:28]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/71569 3105 Vladislav Vaintroub 2009-04-07 Bug #44114 Falcon recovery Error: page 5342/1 wrong page type, expected 5 got 511 This patch makes sure pages written are valid (at least they have valid page types and page numbers) Falcon will assert if garbage data is written to the tablespaces. This will make errors like "got page type 511" impossible. The actual error that causes page corruption will be simpler to find.
[7 Apr 2009 22:31]
Ann Harrison
Vlad's patch will be definitive, but I suspect that the problem is not that we're writing bad pages, but that we sometimes read a page number that's no longer valid by reading beyond the maxLine on a RecordLocator or Section page.
[15 Apr 2009 16:59]
Bugs System
Pushed into 6.0.11-alpha (revid:hky@sun.com-20090415164923-9arx29ye5pzxd4zf) (version source revid:vvaintroub@mysql.com-20090407182323-qohwrke048hvp8hn) (merge vers: 6.0.11-alpha) (pib:6)
[15 May 2009 15:52]
MC Brown
An entry has been added to the 6.0.11 changelog: Recovery of Falcon tables could fail with an indicating that a wrong page type was identified in the Falcon serial lo