Bug #19930 Incorrect thread handling in ndb_mgmd could casue crash/incorrect behavior
Submitted: 19 May 2006 7:53 Modified: 22 May 2006 23:37
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.21-> and 5.1.10-> OS:
Assigned to: Jonas Oreland CPU Architecture:Any

[19 May 2006 7:53] Jonas Oreland
Description:
In 5.0.X and 5.1.Y a new feature was introduced wrt allocation of ndoe id's in ndb_mgmd
This patch was however not thread safe, so that it could crash ndb_mgmd or have it return
  incorrect result.

This coudl happen typically using
> all restart

or starting/stopping of nodes "simulatainiously"

How to repeat:
 

Suggested fix:
[19 May 2006 8: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/6614
[19 May 2006 21:34] Tomas Ulin
pushed to 5.1.11
[22 May 2006 12:11] 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/6696
[22 May 2006 16:57] Tomas Ulin
pushed to 5.0.22 5.1.11
[22 May 2006 23:38] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Documented bugfix in 5.0.22 & 5.1.11 changelogs. Closed.