Bug #44294 Online upgrade does not work with 7.0
Submitted: 15 Apr 2009 13:37 Modified: 16 Apr 2009 19:24
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Jonas Oreland CPU Architecture:Any

[15 Apr 2009 13:37] Jonas Oreland
Description:
several problems...patches on the way...

How to repeat:
.

Suggested fix:
.
[15 Apr 2009 13: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/72168

2904 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part I - enable upgrade in version.c (broke when changing from 6.4 to 7.0
[15 Apr 2009 14:10] 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/72170

2905 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part II
        1) Change getFreeObjId to check that objid is free in *both* old/new schema file
        2) don't init() entries which happens to be SchemaTransaction that we're running our selves
        3) Allow mixed version in schema-trans if it's local (i.e only own node)
        4) Handle various random signal changes that pekka did in 6.4 (relative to 6.3)
[15 Apr 2009 14:37] 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/72172

2906 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part III
        Fix sending of ConfigCheckRef to use correct length
[15 Apr 2009 14:40] 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/72173

2907 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part IV
        Fix sending of ConfigCheckConf to use correct length
[15 Apr 2009 14:46] 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/72174

2908 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part V
        instantiate enum with explit numbers as they are sent over the wire
        and needs to be stable
[15 Apr 2009 14:51] 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/72175

2909 Jonas Oreland	2009-04-15
      ndb - bug#44294 - part VI
        Don't simply exit() on config-check-ref
        But allow peer/own node to be in CS_INITIAL, and in these case instead
        just ignore it
[15 Apr 2009 14:53] Jonas Oreland
magnus, can you review patches III to VI
[16 Apr 2009 7:53] Bugs System
Pushed into 5.1.32-ndb-7.0.6 (revid:jonas@mysql.com-20090416074933-p9dlkjxygd63gd7y) (version source revid:jonas@mysql.com-20090416074933-p9dlkjxygd63gd7y) (merge vers: 5.1.32-ndb-7.0.6) (pib:6)
[16 Apr 2009 8:06] Magnus BlÄudd
Patches are ok.

Just one comment:

+ g_eventLogger->info("Terminating");

^This should probably be "error"
[16 Apr 2009 8:14] Bugs System
Pushed into 5.1.32-ndb-7.0.6 (revid:jonas@mysql.com-20090416081224-b3g2nyd3h4jzy17q) (version source revid:jonas@mysql.com-20090416081224-b3g2nyd3h4jzy17q) (merge vers: 5.1.32-ndb-7.0.6) (pib:6)
[16 Apr 2009 19:24] Jon Stephens
Documented bugfix in the NDB-7.0.6 changelog as follows:

        A number of issues prevented online upgrades from working
        correctly in previous MySQL Cluster NDB 7.0 releases.

Jonas: Please advise if there are additional details that should go into this changelog entry and/or Manual info about upgrades. Thanks.