Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25997

Bamboo will accept MySQL forks (Percona/Aurora/MariaDB/etc) when using the MySQL connector even if only MySQL is officially supported

      Issue Summary

      Bamboo 9.5 or later accepts any product SEMVER returned by the MySQL-like server if it is >= 5.7

      As per the Bamboo 9.5 Supported Platforms page, only MySQL 8 should be supported.

      This is reproducible on Data Center:

      NOTE: The issue also manifests in other database types such as PostgreSQL, Oracle and MSSQL, where Bamboo only enforces the minimum version and doesn't validate the maximum version, even if it goes beyond what's listed on the Supported Platforms page

      Steps to Reproduce

      1. Install MariaDB 10.3 (equivalent to MySQL 5.7)
      2. Install Bamboo 9.5 or later
      3. Configure Bamboo to point to the MariaDB 10.3 DB
      4. Continue the setup

      Expected Results

      1. Bamboo should not accept the MariaDB 10.3 version as that's not MySQL and its SEMVER is > 8

      Actual Results

      1. Bamboo accepts 10.3 as a valid MySQL version
      2. Accepting any database version raises concerns. For example, MariaDB 10.3 is equivalent to MySQL 5.7, which is not compatible with Bamboo versions 9.5 and later. Using this version of MariaDB/MySQL may lead to failures in Bamboo upgrade tasks and regular database operations, resulting in unexpected errors. This happens because the expected DDL used by modern versions of Bamboo can't be implemented in these older database versions.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            [BAM-25997] Bamboo will accept MySQL forks (Percona/Aurora/MariaDB/etc) when using the MySQL connector even if only MySQL is officially supported

            Eduardo Alvarenga (Inactive) made changes -
            Fix Version/s New: 11.0.0 [ 110791 ]
            Jakub Janiszkiewicz made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]

            From Bamboo 10.2.1 and later, the following message will be thrown during startup in case its version is not listed as compatible in the equivalent Supported platforms page.

            Detected [DATABASE] version [VERSION], [minimal|maximum] supported version is [SUPPORTED_VERSION]. Bamboo doesn't support [DATABASE] version [VERSION]. Please check https://confluence.atlassian.com/display/BAMBOO/Supported+Platforms for more information.

            If you are presented with such a message, please adjust the database version to a supported one or contact Atlassian Support to discuss further options.

            Eduardo Alvarenga (Inactive) added a comment - - edited From Bamboo 10.2.1 and later , the following message will be thrown during startup in case its version is not listed as compatible in the equivalent Supported platforms page. Detected [DATABASE] version [VERSION] , [minimal|maximum] supported version is [SUPPORTED_VERSION] . Bamboo doesn't support [DATABASE] version [VERSION] . Please check https://confluence.atlassian.com/display/BAMBOO/Supported+Platforms for more information. If you are presented with such a message, please adjust the database version to a supported one or contact Atlassian Support to discuss further options.
            Jonathan Barth made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 980096 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Eduardo Alvarenga (Inactive) made changes -
            Component/s New: Database (Postgresql) [ 12170 ]
            Component/s New: Database (Oracle) [ 12661 ]
            Component/s New: Database (MS SQL) [ 12660 ]
            Eduardo Alvarenga (Inactive) made changes -
            Fix Version/s New: 10.2.1 [ 110796 ]
            Eduardo Alvarenga (Inactive) made changes -
            Status Original: In Review [ 10051 ] New: Waiting for Release [ 12075 ]
            Eduardo Alvarenga (Inactive) made changes -
            Description Original: h3. Issue Summary

            Bamboo 9.5 or later accepts any product SEMVER returned by the MySQL-like server if it is >= 5.7

            As per the [Bamboo 9.5 Supported Platforms page|https://confluence.atlassian.com/bamboo0905/supported-platforms-1345817907.html], *only MySQL 8 should be supported*.

            This is reproducible on Data Center: (/)

            h3. Steps to Reproduce
             # Install MariaDB 10.3 (equivalent to MySQL 5.7)
             # Install Bamboo 9.5 or later
             # Configure Bamboo to point to the MariaDB 10.3 DB
             # Continue the setup

            h3. Expected Results
             # Bamboo should not accept the MariaDB 10.3 version as that's not MySQL and its SEMVER is > 8

            h3. Actual Results
             # Bamboo accepts 10.3 as a valid MySQL version
             # Accepting any database version raises concerns. For example, MariaDB 10.3 is equivalent to MySQL 5.7, which is not compatible with Bamboo versions 9.5 and later. Using this version of MariaDB/MySQL may lead to failures in Bamboo upgrade tasks and regular database operations, resulting in unexpected errors. This happens because the expected DDL used by modern versions of Bamboo can't be implemented in these older database versions.

            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            Bamboo 9.5 or later accepts any product SEMVER returned by the MySQL-like server if it is >= 5.7

            As per the [Bamboo 9.5 Supported Platforms page|https://confluence.atlassian.com/bamboo0905/supported-platforms-1345817907.html], {*}only MySQL 8 should be supported{*}.

            This is reproducible on Data Center: (/)
            {panel:bgColor=#ffebe6}
            *NOTE:* The issue also manifests in other database types such as PostgreSQL, Oracle and MSSQL, where Bamboo only enforces the minimum version and doesn't validate the maximum version, even if it goes beyond what's listed on the [Supported Platforms|https://confluence.atlassian.com/display/BAMBOO/Supported+platforms] page
            {panel}
            h3. Steps to Reproduce
             # Install MariaDB 10.3 (equivalent to MySQL 5.7)
             # Install Bamboo 9.5 or later
             # Configure Bamboo to point to the MariaDB 10.3 DB
             # Continue the setup

            h3. Expected Results
             # Bamboo should not accept the MariaDB 10.3 version as that's not MySQL and its SEMVER is > 8

            h3. Actual Results
             # Bamboo accepts 10.3 as a valid MySQL version
             # Accepting any database version raises concerns. For example, MariaDB 10.3 is equivalent to MySQL 5.7, which is not compatible with Bamboo versions 9.5 and later. Using this version of MariaDB/MySQL may lead to failures in Bamboo upgrade tasks and regular database operations, resulting in unexpected errors. This happens because the expected DDL used by modern versions of Bamboo can't be implemented in these older database versions.

            h3. Workaround

            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            Eduardo Alvarenga (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]

              73868399605e Eduardo Alvarenga (Inactive)
              73868399605e Eduardo Alvarenga (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: