Bug #47505 Starting node failing, can lead to subsequent cluster crash

Submitted: 22 Sep 2009 7:10 Modified: 22 Sep 2009 9:46
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

[22 Sep 2009 7:10] Jonas Oreland
Description:
When a node starts, it will copy data from peer-node,
during this copy, a variable was left uninitalized,
which could if the starting node died during the code
lead to cluster crash when the node was later restarted.

How to repeat:
for i in `seq 100`; do testNodeRestart -l 10 -n Bug15587 T1 || break; done

Suggested fix:
Init variable
[22 Sep 2009 7:32] 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/84044

3001 Jonas Oreland	2009-09-22
      ndb - bug#47505 - make sure to init tcconnectrecord used for COPY_FRAGREQ, so that it will always be found by LQH_TRANSREQ
[22 Sep 2009 7:46] Jonas Oreland
pushed to 6.2.19, 6.3.27, 7.0.8 and drop6p19
[22 Sep 2009 9:46] Jon Stephens
Documented bugfix in the NDB-6.2.19, 6.3.26, and 7.0.8 changelogs, as follows:

        A variable was left uninitialized while a data node copied data
        from its peers as part of its startup routine; if the starting
        node died during this phase, this could lead a crash of the
        cluster when the node was later restarted.

Closed.
[30 Sep 2009 8:13] Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:frazer@mysql.com-20090929142503-sst6g3fs0vx9fgil) (version source revid:jonas@mysql.com-20090922073229-u6ctnzllazlslpkj) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[30 Sep 2009 8:13] Bugs System
Pushed into 5.1.37-ndb-6.3.28 (revid:jonas@mysql.com-20090930070741-13u316s7s2l7e1ej) (version source revid:jonas@mysql.com-20090922073917-12sshs7r2q197syw) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[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-20090922074246-lbznbrb7acm4jg5v) (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-20090922074420-nofzm0p1zw6muu1o) (merge vers: 5.1.35-ndb-7.1.0) (pib:11)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.