Bug #47364 Incorrect handling of abort of online add column in TUP
Submitted: 16 Sep 2009 10:46 Modified: 16 Sep 2009 16:06
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-6.3 OS:Any
Assigned to: Jonas Oreland CPU Architecture:Any

[16 Sep 2009 10:46] Jonas Oreland
Description:
When aborting an online add column
(e.g due to resource problems on 1-node, but not others)
The code that released newly allocated table-descriptors in TUP
was incorrect, causing it to force-shutdown.

How to repeat:
new test-prg

Suggested fix:
Cleanup the code (which was very hairy)
[16 Sep 2009 10:52] 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/83473

3052 Jonas Oreland	2009-09-16
      ndb - bug#47364 - cleanup abort of online add column wrt to table-descriptors in TUP
[16 Sep 2009 11:13] 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/83474

3013 Jonas Oreland	2009-09-16 [merge]
      ndb - merge bug#47364 into 7.0, enabling testcase since it now actually works
[16 Sep 2009 15:27] Jonas Oreland
pushed to 7.0.8 and 7.1
(also to 6.3, but there it does not solve "full" problem)
[16 Sep 2009 16:06] Jon Stephens
Documented bugfix in the NDB-7.0.8 changelog as follows:

        Aborting an online add column (for example, due to resource
        problems on a single data node, but not others) could lead to a
        forced node shutdown.

Closed.
[30 Sep 2009 8:14] Bugs System
Pushed into 5.1.37-ndb-7.0.9 (revid:jonas@mysql.com-20090930075942-1q6asjcp0gaeynmj) (version source revid:jonas@mysql.com-20090916111255-3rhdobrd5hvn1bka) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[30 Sep 2009 8:15] Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:jonas@mysql.com-20090930080049-1c8a8cio9qgvhq35) (version source revid:jonas@mysql.com-20090916135407-3n3lg85753dlltjf) (merge vers: 5.1.35-ndb-7.1.0) (pib:11)