[MDEV-2794] LP:728919 - maria_chk should fail on all detected corruptions 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 | Priority: | Trivial |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Now that maria_chk is used for recovery testing, it should have an option to fail with a suitable exit code on all database corruptions. Currently, some are just printed as warnings, such as: maria_chk: warning: Found row where the auto_increment column has the value 0 and are thus not detectable during automatic test runs. The code has the following comment: /* Don't count this as a real warning, as maria_chk can't correct it */ such logic is not true when it comes to automatic recovery testing. There are other instances in the code where the same trick is used to prevent maria_chk from reporting a proper exit code. |
| Comments |
| Comment by Michael Widenius [ 2011-05-11 ] |
|
Re: maria_chk should fail on all detected corruptions |
| Comment by Rasmus Johansson (Inactive) [ 2011-06-20 ] |
|
Launchpad bug id: 728919 |