Bug #21440 5.1 API connecting to 5.0 cluster doesn't get any error (miss hb in cluster log)
Submitted: 4 Aug 2006 6:33 Modified: 24 Mar 2017 13:29
Reporter: Stewart Smith Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Cluster: NDB API Severity:S3 (Non-critical)
Version:mysql-5.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: 5.0.23, 5.1bk

[4 Aug 2006 6:33] Stewart Smith
Description:
5.1 API connecting to 5.1 cluster doesn't generate any meaningful error message

How to repeat:
Start 5.0 cluster
compile NDBAPI against 5.1
try to connect 5.1 api to 5.0 cluster

Suggested fix:
NDBAPI prints meaningful error message

Cluster log contains meaningful error message
[29 Aug 2006 8:07] 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/10982

ChangeSet@1.2253, 2006-08-29 16:03:44+08:00, Justin.He@qa3-104.qa.cn.tlan +2 -0
  BUG #21440, 5.1 API connecting to 5.0 cluster doesn't get any error(miss hb in cluter log)
[23 Mar 2007 10:57] 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/22753

ChangeSet@1.2475, 2007-03-23 18:49:56+08:00, Justin.He@dev3-240.dev.cn.tlan +2 -0
  Bug#21440 5.1 API connecting to 5.0 cluster doesn't get any error(miss hb in cluster log)
[29 Mar 2007 8:10] Stewart Smith
Could you please add some tests to ndb/test/ndbapi/testMgm.cpp for testing at least the following:

mgmapi reporting newer version than mgmd knows about
mgmapi reporting same version as mgmd
mgmapi reporting older version that's compatible
mgmapi reporting older version that's not compatible

Otherwise i think patch looks good now, but I think we need the testing in there.
[30 Mar 2007 6:11] Stewart Smith
I mean to "fake" the versions in the test program - the test suite framework will connect anyway, but you can easily open up new connections and talk to the management server. 

Latest 5.1-ndb tree has my mgmapi timeouts code in there which adds a lot of tests to testMgm that do just this.
[12 Apr 2007 6:50] 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/24360

ChangeSet@1.2479, 2007-04-12 14:41:50+08:00, Justin.He@dev3-240.dev.cn.tlan +3 -0
  Bug#21440 5.1 API connecting to 5.0 cluster doesn't get any error(miss hb in cluster log)
  correct compatibility check for version between mgmapi and mgmsrv
  improve something for testcase
[17 Apr 2007 1:31] Stewart Smith
this looks okay to me i think.

once tomas okayed - ok to push.
[22 Mar 2017 21:45] MySQL Verification Team
It still valid to keep this older bug in open status or should be closed?. Thanks.
[24 Mar 2017 13:29] Jon Stephens
Thank you for taking the time to report a problem.  Unfortunately you are not using a current version of the product you reported a problem with -- the problem might already be fixed. Please download a new version from http://www.mysql.com/downloads/

If you are able to reproduce the bug with one of the latest versions, please change the version on this bug report to the version you tested and change the status back to "Open".  Again, thank you for your continued support of MySQL.