[MDEV-3542] LP:728930 - Aria double recovery failure "Found row where the auto_increment column has the value 0" Created: 2011-03-04 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When executing "double" recovery via maria_read_log, maria_chk reports the following: maria_chk: warning: Found row where the auto_increment column has the value 0 This was never seen before in straightforward recovery tests. "Double" recovery means that the initial run of maria_read_log is killed -9 partway through the procedure and a new run of maria_read_log is performed. Please pull from lp:randgen before you run the test. RQG command line: perl runall.pl - in approximately 50% of the cases, maria_chk will report maria_chk: warning: Found row where the auto_increment column has the value 0 |
| Comments |
| Comment by Michael Widenius [ 2011-06-12 ] |
|
Re: Aria double recovery failure "Found row where the auto_increment column has the value 0" UPDATE `DD` SET `pk` = 0 WHERE `col_datetime_nokey` < 3 LIMIT 0 This set the auto_increment value to 0, which causes a warning from aria_chk as it assumes that this is something that you should never do. The table is still correct and usable, but one will get a warning for the above row. Suggested fix: Don't set pk to 0 |
| Comment by Rasmus Johansson (Inactive) [ 2011-06-12 ] |
|
Launchpad bug id: 728930 |