[MDEV-19849] InnoDB should and can be more specific with errno: 168 "Unknown (generic) error from engine". The output for MyISAM, Aria and RocksDB can also be improved. Created: 2019-06-24 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria, Storage Engine - InnoDB, Storage Engine - MyISAM, Storage Engine - RocksDB |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Vladislav Lesin |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | affects-tests, beginner-friendly, upstream-5.6, upstream-5.7 | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
In some cases (see
The error says nothing to the user about the reason of the problem. In the error log we see:
that is way more specific. I think that returning a generic "Unknown" error when the reason for the error is well known is wrong. |
| Comments |
| Comment by Kathryn Sizemore [ 2020-02-26 ] | ||||||||||||||||||
|
This is still a bug in 10.4.12. We encountered the same unhelpful error. | ||||||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-14 ] | ||||||||||||||||||
|
I ran into this also:
Leads to (in 10.8+):
As well as (in 10.3-10.7):
Bug confirmed present in: Bug (or feature/syntax) confirmed not present in: | ||||||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-14 ] | ||||||||||||||||||
|
MyISAM and Aria output:
MEMORY and Spider output:
The MEMORY/Spider output looks the best imho. | ||||||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-14 ] | ||||||||||||||||||
|
Actually, ERROR 7 looks incorrect:
It would be best imho to change InnoDB, MyISAM, and Aria to:
| ||||||||||||||||||
| Comment by Roel Van de Paar [ 2022-10-14 ] | ||||||||||||||||||
|
For RocksDB:
Leads to:
| ||||||||||||||||||
| Comment by Roel Van de Paar [ 2023-01-13 ] | ||||||||||||||||||
|
Another example:
Leads to:
Which is non-descriptive. The issue in this case is error 36 (file name too long):
And this matches the error log:
| ||||||||||||||||||
| Comment by Neama Ageb [ 2023-09-20 ] | ||||||||||||||||||
|
I have the same issue too ... I have MariaDB 10.6 ALTER TABLE SUITE_OVERHEIDSLOKET_RELEASE.portal_policy_information MODIFY id INT AUTO_INCREMENT; | ||||||||||||||||||
| Comment by Roel Van de Paar [ 2023-09-27 ] | ||||||||||||||||||
|
Na3omy Looks related. You can check the error log for more information. | ||||||||||||||||||
| Comment by Neama Ageb [ 2023-10-03 ] | ||||||||||||||||||
|
Hello | ||||||||||||||||||
| Comment by Roel Van de Paar [ 2023-10-04 ] | ||||||||||||||||||
|
I suspect the underlying issue disappeared whereas the original description of this ticket remains as-is. Thank you for the update! |