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

CONNECT versions claiming to be the same contain different features

Details

    Description

      It is difficult to track which CONNECT feature is in which MariaDB version based on the Connect plugin version, as given the same Connect version, features differ across MariaDB releases. For example, here a particular system variable is in one variety of 1.06.0004, but not another. I am fairly sure there have been other similar cases:

      SELECT VERSION(), PLUGIN_NAME,PLUGIN_AUTH_VERSION FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'CONN%';
      +----------------+-------------+---------------------+
      | VERSION()      | PLUGIN_NAME | PLUGIN_AUTH_VERSION |
      +----------------+-------------+---------------------+
      | 10.2.9-MariaDB | CONNECT     | 1.06.0004           |
      +----------------+-------------+---------------------+
       
      SHOW VARIABLES LIKE 'connect_en%';
      Empty set (0.00 sec)
      

      SELECT VERSION(), PLUGIN_NAME,PLUGIN_AUTH_VERSION FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'CONN%';
      +----------------+-------------+---------------------+
      | VERSION()      | PLUGIN_NAME | PLUGIN_AUTH_VERSION |
      +----------------+-------------+---------------------+
      | 10.3.2-MariaDB | CONNECT     | 1.06.0004           |
      +----------------+-------------+---------------------+
       
      SHOW VARIABLES LIKE 'connect_en%';
      +----------------------+-------+
      | Variable_name        | Value |
      +----------------------+-------+
      | connect_enable_mongo | OFF   |
      +----------------------+-------+
      

      Attachments

        Activity

          greenman Ian Gilfillan created issue -

          The set of features which CONNECT engine comes from in a build depends on cmake options and build environment, even if the code base is exactly the same. I don't know how it can be indicated in the version – cvicentiu, any thoughts on this?

          elenst Elena Stepanova added a comment - The set of features which CONNECT engine comes from in a build depends on cmake options and build environment, even if the code base is exactly the same. I don't know how it can be indicated in the version – cvicentiu , any thoughts on this?
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Assignee Vicentiu Ciorbaru [ cvicentiu ]
          elenst Elena Stepanova made changes -
          Fix Version/s N/A [ 14700 ]
          elenst Elena Stepanova made changes -
          Affects Version/s N/A [ 14700 ]
          elenst Elena Stepanova made changes -
          Affects Version/s 10.2 [ 14601 ]
          Affects Version/s 10.3 [ 22126 ]
          Affects Version/s 10.0 [ 16000 ]
          Affects Version/s 10.1 [ 16100 ]
          Affects Version/s N/A [ 14700 ]

          Connect engine is roughly the same code across versions, only it disables certain features for "stable" releases. For example Mongo support is not enabled in 10.0 (nor 10.1 I believe).
          With the same code across versions however, means that we have identical version numbers for different features for connect storage engine, which is a bit of a pain, I agree. Not sure how one would fix this, given how connect is developed & merged.

          cvicentiu Vicențiu Ciorbaru added a comment - Connect engine is roughly the same code across versions, only it disables certain features for "stable" releases. For example Mongo support is not enabled in 10.0 (nor 10.1 I believe). With the same code across versions however, means that we have identical version numbers for different features for connect storage engine, which is a bit of a pain, I agree. Not sure how one would fix this, given how connect is developed & merged.
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 85546 ] MariaDB v4 [ 140648 ]
          vlad.radu Vlad Radu made changes -
          Labels foundation

          People

            cvicentiu Vicențiu Ciorbaru
            greenman Ian Gilfillan
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.