Details
Description
MariaDB Server bootstrap will ignore the failure of InnoDB to initialize itself:
./mtr --mysqld=--innodb-read-only innodb.innodb
|
10.2 6b066ec33285c089ce770c2d1eb50bc49787ee92 |
innodb.innodb 'innodb' [ skipped ] Test requires InnoDB with 16k Page size.
|
line
|
2021-12-15 13:06:01 140419257711680 [ERROR] InnoDB: Can't create file './ibdata1' when --innodb-read-only is set
|
2021-12-15 13:06:01 140419257711680 [ERROR] InnoDB: Plugin initialization aborted at srv0start.cc[1873] with error Generic error
|
2021-12-15 13:06:01 140419257711680 [ERROR] Plugin 'InnoDB' init function returned error.
|
2021-12-15 13:06:01 140419257711680 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
|
^ Found warnings in /dev/shm/10.2o/mysql-test/var/log/mysqld.1.err
|
I think that already the bootstrap should have failed.
Another (maybe more practical) way to reproduce the bootstrap failure is a too small innodb_log_file_size, as described in MDEV-27268.
Attachments
Issue Links
- relates to
-
MDEV-27268 Failed InnoDB initialization leaves garbage files behind
- Closed