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

wsrep_provider is missing in 60-galera.cnf

Details

    • Sprint 4 (25.02.2025)

    Description

      When we install Galera Cluster on Ubuntu 22.04 from the MariaDB repositories we get at 60-galera.cnf like this:

      #
      # * Galera-related settings
      #
      # See the examples of server wsrep.cnf files in /usr/share/mysql
      # and read more at https://mariadb.com/kb/en/galera-cluster/
       
      [galera]
      # Mandatory settings
      #wsrep_on                 = ON
      #wsrep_cluster_name       = "MariaDB Galera Cluster"
      #wsrep_cluster_address    = gcomm://
      #binlog_format            = row
      #default_storage_engine   = InnoDB
      #innodb_autoinc_lock_mode = 2
       
      # Allow server to accept connections on all interfaces.
      bind-address = 0.0.0.0
       
      # Optional settings
      #wsrep_slave_threads = 1
      #innodb_flush_log_at_trx_commit = 0
      

      IMHO the wsrep_provider variable should be listed in the mandatory settings as well at least as a reminder as follows:

      #wsrep_provider = /usr/lib/galera/libgalera_smm.so

      Because our students often omit this value when not reading carefully the documentation which leads to frustration... So a plus for usability and ease of use.

      Attachments

        Activity

          Could be true for Debian packages as well...

          oli Oli Sennhauser added a comment - Could be true for Debian packages as well...

          Listed as mandatory on the KB: https://mariadb.com/kb/en/configuring-mariadb-galera-cluster/

          So, yes, agree, this would help if present, thanks oli I will prepare the PR.

          faust Faustin Lammler added a comment - Listed as mandatory on the KB: https://mariadb.com/kb/en/configuring-mariadb-galera-cluster/ So, yes, agree, this would help if present, thanks oli I will prepare the PR.

          oli this is the PR: https://github.com/MariaDB/server/pull/3848

          Can you please check that the change looks ok.

          faust Faustin Lammler added a comment - oli this is the PR: https://github.com/MariaDB/server/pull/3848 Can you please check that the change looks ok.

          People

            faust Faustin Lammler
            oli Oli Sennhauser
            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.