diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2022-05-13 13:13:45 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2022-05-13 14:17:58 +0200 |
commit | f027c1217b5b3ac76e742b6ec4ee75ed79ec5871 (patch) | |
tree | 54586253aaa94b84843bf91c26abacca78a7a520 /include | |
parent | c1063a1bed0008ca188ca3bba8c5125ea15cdc44 (diff) | |
download | mariadb-git-f027c1217b5b3ac76e742b6ec4ee75ed79ec5871.tar.gz |
MDEV-28471 mysql_install_db.exe does not work with --innodb-page-size=64K
The error message "InnoDB: innodb_page_size=65536 requires innodb_buffer_pool_size >= 20MiB current 10MiB" is the relevant one.
The root cause:
mysql_install_db bootstraps with --innodb-buffer-pool-size=10M.
Small bufferpool is here by design - bootstrap should succeed,
even if there is not much RAM available, bootstrap does not need that much
memory.
For pagesize 64K specifically, Innodb thinks it needs a larger bufferpool,
and thus it lets the bootstrap process die (although the expected behavior
in this case would be to adjust value, give warning and continue)
The workaround:
- pass --innodb-buffer-pool-size=20M, which is suitable for all page sizes.
- check the same limit in MSI custom action.
Also, the patch adds mtr test for 64K page size.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions