Bug #59751 | Fragment calculation when using MAX_ROWS with standby ndbd nodes is incorrect | ||
---|---|---|---|
Submitted: | 26 Jan 2011 17:36 | Modified: | 1 Feb 2011 17:06 |
Reporter: | Daniel Smythe | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 7.1.9 | OS: | Any |
Assigned to: | Jonas Oreland | CPU Architecture: | Any |
Tags: | cluster, error, fragment, MAX_ROWS |
[26 Jan 2011 17:36]
Daniel Smythe
[26 Jan 2011 18:49]
Daniel Smythe
Please see Bug #59756 regarding 'ghost' table issue.
[28 Jan 2011 11:30]
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/129847 4152 Jonas Oreland 2011-01-28 ndb - bug#59751 - only "use" nodes with nodegroup when computing frag-count
[28 Jan 2011 12:16]
Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.22 (revid:jonas@mysql.com-20110128112755-8iiuck6ewd3krtgo) (version source revid:jonas@mysql.com-20110128112627-c02onpmhv1kcy0lb) (merge vers: 5.1.51-ndb-7.0.22) (pib:24)
[1 Feb 2011 9:13]
Jonas Oreland
pushed to 7.0.22 and 7.1.11
[1 Feb 2011 17:06]
Jon Stephens
Documented fix in the NDB-7.0.22 and 7.1.11 changelogs as follows: When attempting to create a table on a cluster with many 'standby' data nodes (setting Nodegroup=65536 in config.ini for the nodes that should wait and starting the nodes that should start immediately with the --nowait-nodes option) and using the CREATE TABLE statement's MAX_ROWS option, mysqld incorrectly calculated the number of fragments to use. This caused CREATE TABLE to fail. Note: The CREATE TABLE failure caused by this issue in turn prevented any further attempts to create the table, even if the table structure was simplified or changed in such a way that the attempt should have succeeded. This "ghosting" issue is handled in BUG#59756. Closed.