[MDEV-30278] 4K aria block size is no longer usable, bootstrap fails Created: 2022-12-20  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Aria, Variables
Affects Version/s: 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.6

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

In 10.6+ table mysql.db has longer fields Host and User, and they together make table creation fail on the server with aria-block-size=4096:

10.6 0a67daad

$ scripts/mysql_install_db --aria-block-size=4096
Installing MariaDB/MySQL system tables in './data' ...
ERROR: 1071  Specified key was too long; max key length is 1233 bytes
2022-12-20  2:57:46 0 [ERROR] Aborting

And since it cannot be bootstrapped with this value, the server cannot be started with it either (control file mismatch).


Generated at Thu Feb 08 10:15:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.