Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5106

Server version checks are overly pessimistic

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.4.15, 22.08.12, 23.02.9, 23.08.5, 24.02.1
    • 23.08.6, 24.02.2
    • mariadbclient
    • None

    Description

      When a cluster of three MariaDB 10.11 servers is used with MaxScale, the lowest common server version is 10.11. If one of the instances is down when MaxScale starts up, the version of that node is unknown and is marked as zero. This causes MaxScale to assume that only the very basic network protocol is supported as in the version comparison the version of the node that is down is zero. This means that some of the more recent features are disabled even if all of the other nodes that are up would support it.

      An improvement to this would be to detect the protocol version difference of "unknown" servers later on during the connection creation phase where the very unlikely protocol mismatch can be handled by closing the connection. This is less efficient than simply not connecting but the supported protocol versions of a server that cannot be reached cannot also be known in advance and thus the mismatch can only be detected after-the-fact. For 23.08, this simply means igoring servers whose versions are unknown in the version resolution phase.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.