[MDEV-15290] CONNECT versions claiming to be the same contain different features Created: 2018-02-12  Updated: 2018-03-15

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.0, 10.1, 10.2, 10.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ian Gilfillan Assignee: Vicențiu Ciorbaru
Resolution: Unresolved Votes: 0
Labels: None


 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   |
+----------------------+-------+



 Comments   
Comment by Elena Stepanova [ 2018-02-14 ]

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?

Comment by Vicențiu Ciorbaru [ 2018-03-15 ]

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.

Generated at Thu Feb 08 08:20:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.