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

Improve WSREP provider error message if Galera library does not match Galera build

    XMLWordPrintable

Details

    Description

      Improve WSREP provider error message if Galera library does not match Galera build.

      2022-05-31 10:40:49 0 [Note] WSREP: Using server side SSL for provider connections
      2022-05-31 10:40:49 0 [Note] WSREP: Loading provider /home/vagrant/mariadb-10.6.8-4-freebsd12.3-x86_64/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
      2022-05-31 10:40:49 0 [Note] WSREP: wsrep_load(): loading provider library '/home/vagrant/mariadb-10.6.8-4-freebsd12.3-x86_64/lib/libgalera_smm.so'
      2022-05-31 10:40:49 0 [Note] WSREP: wsrep_load(): Galera 4.11(rXXXX) by Codership Oy <info@codership.com> loaded successfully.
      2022-05-31 10:40:49 0 [Warning] WSREP: Support for thread service v1 wsrep_init_thread_service_v1 not found from provider: Undefined symbol "wsrep_init_thread_service_v1"
      2022-05-31 10:40:49 0 [Warning] WSREP: Provider does not support thread service v1
      2022-05-31 10:40:49 0 [ERROR] WSREP: Failed to create a new provider '/home/vagrant/mariadb-10.6.8-4-freebsd12.3-x86_64/lib/libgalera_smm.so' with options 'repl.causal_read_timeout=PT90S;base_port=16002;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;gcache.size=10M': Failed to initialize thread service
      2022-05-31 10:40:49 0 [ERROR] WSREP: Failed to load provider
      2022-05-31 10:40:49 0 [ERROR] Plugin 'wsrep' init function returned error.
      

      In case of wsrep provider mismatch, I think Galera should print a message similar to version mismatch.

      2022-05-31 13:48:26 0 [Note] WSREP: wsrep_load(): loading provider library '/test/GAL_MD160522-mariadb-10.6.8-linux-x86_64-dbg/lib/libgalera_smm.so'
      2022-05-31 13:48:26 0 [ERROR] WSREP: provider interface version mismatch: need '26', found '25'
      

      Attachments

        Activity

          People

            teemu.ollakka Teemu Ollakka
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.