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

MariaDB startup does not validate plugin-wsrep-provider when wsrep_mode=off or wsrep_provider is not set

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.11
    • N/A
    • Galera
    • None

    Description

      MariaDB startup does not validate plugin-wsrep-provider when wsrep_on=off or wsrep_provider is not set.
      Server should not allow to set new variable plugin-wsrep-provider if wsrep_on==off or when wsrep_provider is not set.

      $ /test/mtest/GAL_MD281122-mariadb-10.11.2-linux-x86_64-dbg/bin/mysql -A -uroot -S/test/mtest/GAL_MD281122-mariadb-10.11.2-linux-x86_64-dbg/node1/node1_socket.sock -e "show variables like 'wsrep_on'"
      +---------------+-------+
      | Variable_name | Value |
      +---------------+-------+
      | wsrep_on      | OFF   |
      +---------------+-------+
      $
       
      $ grep plugin-wsrep n1.cnf
      plugin-wsrep-provider=ON
      

      Attachments

        Issue Links

          Activity

            Fixed on branch : preview-10.11-MDEV-22570-wsrep-provider-options-plugin

            I try to do test case but it seems hard as server will not start.

            jplindst Jan Lindström (Inactive) added a comment - Fixed on branch : preview-10.11- MDEV-22570 -wsrep-provider-options-plugin I try to do test case but it seems hard as server will not start.

            Now you should see message:

            2023-01-03 13:55:40 0 [Note] Plugin 'wsrep-provider' is disabled.
            

            jplindst Jan Lindström (Inactive) added a comment - Now you should see message: 2023-01-03 13:55:40 0 [Note] Plugin 'wsrep-provider' is disabled.

            People

              jplindst Jan Lindström (Inactive)
              ramesh Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.