Bug #49163 Ndb : Unable to use 7.0 ndbapi/mysqld with 6.3 mgmd
Submitted: 27 Nov 2009 12:19 Modified: 9 Dec 2009 10:07
Reporter: Frazer Clement Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S4 (Feature request)
Version:mysql-5.1-telco-7.0 OS:Any
Assigned to: Frazer Clement CPU Architecture:Any

[27 Nov 2009 12:19] Frazer Clement
Description:
The fix for Bug#48528 'Unable to use 7.0 ndbapi/mysqld with 6.3 data-nodes' allows 7.0 NdbApi nodes (including MySQLD) to connect to a cluster with 6.3 data nodes, as long as the ndb_mgmd node is at version 7.0.

However, 7.0 NdbApi nodes are unable to connect to a cluster with 6.3 data nodes and a 6.3 ndb_mgmd node.  The connection process fails with a timeout.

This should be resolved.  

How to repeat:
Create 6.3 cluster.

Attempt to connect a 7.0 NdbApi application to it.

Suggested fix:
Detect ndb_mgmd version from 7.0 API.  Modify use of MGMAPI protocol to suit.
[27 Nov 2009 12:38] Frazer Clement
Proposed patch

Attachment: bug49163.patch (text/x-patch), 4.27 KiB.

[27 Nov 2009 12:42] Frazer Clement
Proposed patch changes 'get config' and 'start backup' MGMAPI commands to check MGMD version before sending argument sets not supported in previous versions.
[2 Dec 2009 16:02] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/92516

3247 Frazer Clement	2009-12-02
      Bug#49163 Ndb : Unable to use 7.0 ndbapi/mysqld with 6.3 mgmd
      modified:
        storage/ndb/include/ndb_version.h.in
        storage/ndb/src/mgmapi/mgmapi.cpp
[2 Dec 2009 16:12] Frazer Clement
Fix pushed to 6.2.19, 6.3.29, 7.0.10, 7.1.0
[2 Dec 2009 16:13] Frazer Clement
Follow on to bug #48528
[9 Dec 2009 10:07] Jon Stephens
Documented in the NDB-6.3.29 and 7.0.10 changelogs together with BUG#48528, qv. for changelog entry and other documentation info.