[MDEV-26775] Error messages about unavailable compression libraries not returned in diagnostics Created: 2021-10-06 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
As we are knowingly introducing possible upgrade difficulty in 10.7 by disabling by default compression libraries which were previously enabled, it is important to at least simplify problem handling for users who encounter it. It appears that the server/InnoDB is quite capable of discovering what exactly is missing. When a table compressed with an uninstalled algorithm is queried, a detailed error message is written to the error log:
But in the response to SQL, a user can only see ER_NO_SUCH_TABLE_IN_ENGINE:
Consequently, the same non-informative diagnostics is produced by mysql_upgrade:
It would be great if the missing algorithm was indicated in the error messages returned to clients. |
| Comments |
| Comment by Sergei Golubchik [ 2021-10-09 ] |
|
This is exactly how the old code was. It was printing "Table ... is corrupted. Please drop the table and recreate." to the log only. marko, shall I change that to be shown to the end user? |