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

S3 storage engine fails to load due to plugin_maturity

    XMLWordPrintable

Details

    Description

      The S3 storage engine currently has plugin maturity alpha in MariaDB Community Server 10.5.4:

      https://github.com/MariaDB/server/blob/8394979aae274a19689102420ebb86580e26f92e/storage/maria/ha_s3.cc#L1080

      When you install the package for the S3 storage engine on Debian or Ubuntu, it installs a configuration file that tries to load the plugin:

      $ cat /etc/mysql/mariadb.conf.d/s3.cnf 
      [mariadb]
      plugin-load-add=ha_s3
       
      #
      # Uncomment and configure the S3 engine
      #
      #s3-host-name=s3.amazonaws.com
      #s3-protocol-version=Amazon
      #s3-bucket=...
      #s3-access-key=...
      #s3-secret-key=...
      #s3-region=eu-north-1
      

      This configuration file does not set plugin_maturity=alpha, so this configuration file causes the plugin to fail to load:

      2020-06-23  0:37:15 0 [ERROR] mysqld: Can't open shared library 'ha_s3.so' (errno: 1, Loading of alpha plugin S3 is prohibited by --plugin-maturity=gamma)
      2020-06-23  0:37:15 0 [ERROR] Couldn't load plugins from 'ha_s3.so'.
      

      Should s3.cnf set plugin_maturity=alpha, so that the plugin can be loaded successfully?

      Attachments

        Issue Links

          Activity

            People

              otto Otto Kekäläinen
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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