Bug #19930 Incorrect thread handling in ndb_mgmd could casue crash/incorrect behavior
Submitted: 19 May 2006 9:53 Modified: 23 May 2006 1:37
Reporter: Jonas Oreland
Status: Closed
Category:Server: Cluster Severity:S3 (Non-critical)
Version:5.0.21-> and 5.1.10-> OS:
Assigned to: Jonas Oreland Target Version:

[19 May 2006 9: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 10: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 23:34] Tomas Ulin
pushed to 5.1.11
[22 May 2006 14: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 18:57] Tomas Ulin
pushed to 5.0.22 5.1.11
[23 May 2006 1: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.