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

check_galera_version.inc is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4
    • N/A
    • Galera, Tests
    • None
    • Gentoo

    Description

      I'm getting

      galera.galera_defaults 'innodb'          [ skipped ]  Test requires Galera library version >= 26.4.6
      

      despite having 26.4.6 installed. It turns out that check_galera_version.inc no longer works. It uses a bunch or regexes to extract components of the requested and actual galera versions. I've added a debug printout as

      SELECT @GALERA_VERSION, @GALERA_MAJOR_VERSION, @GALERA_MINOR_VERSION, @GALERA_RELEASE_VERSION
      UNION ALL
      SELECT @ACTUAL_GALERA_VERSION, @ACTUAL_GALERA_MAJOR_VERSION, @ACTUAL_GALERA_MINOR_VERSION, @ACTUAL_GALERA_RELEASE_VERSION;
      

      it already had debug selects, I suggest to replace them with mine as above, the result is easier to read
      The output was

      26.4.6          26      4       6
      4.6(r323e509)    4      4       6
      

      That is, wsrep_provider_version now has a different format and regexes fail to parse it into a comparable representation.

      I have a system Gentoo sys-cluster/galera-26.4.6

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            serg Sergei Golubchik
            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.