Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27269

Bootstrap ignores failure to initialize storage engine

    XMLWordPrintable

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

          Activity

            People

              sanja Oleksandr Byelkin
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.