Bug #47170 | out of stringmemory (773) with stringmemory=100 | ||
---|---|---|---|
Submitted: | 7 Sep 2009 11:16 | Modified: | 9 Sep 2009 16:25 |
Reporter: | Johan Andersson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-5.1-telco-6.2 | OS: | Any |
Assigned to: | Jonas Oreland | CPU Architecture: | Any |
Tags: | 7.0.7, StringMemory |
[7 Sep 2009 11:16]
Johan Andersson
[8 Sep 2009 8:45]
Sveta Smirnova
Thank you for the report. Verified as described with settings provided.
[9 Sep 2009 8:53]
Jonas Oreland
Problem was that for really big values of MaxNoOfTables + MaxNoOfAttributes, the calculation could overflow. Changed to Uint64 for intermediate calculations
[9 Sep 2009 8:55]
Jonas Oreland
Furthermore triage should be D2 : You can't create all the tables that you need
[9 Sep 2009 8:58]
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/82777 2990 Jonas Oreland 2009-09-09 ndb - bug#47170 Calculation of StringMemory could overflow for big values of MaxNoOfTables/Attributes
[9 Sep 2009 11:04]
Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:jonas@mysql.com-20090909110427-4vsmv05b2i6svff9) (version source revid:jonas@mysql.com-20090909110427-4vsmv05b2i6svff9) (merge vers: 5.1.35-ndb-7.1.0) (pib:11)
[9 Sep 2009 11:05]
Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090909090834-znkdnl02929etrky) (version source revid:jonas@mysql.com-20090909090834-znkdnl02929etrky) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[9 Sep 2009 11:06]
Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090909110150-kdvot0410na89hk5) (version source revid:jonas@mysql.com-20090909091751-4somugxyxyue3gzo) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[9 Sep 2009 12:00]
Jonas Oreland
also pushed to 6.2.19
[9 Sep 2009 16:25]
Jon Stephens
Documented bugfix in the NDB-6.2.19, 6.3.27, and 7.0.8 changelogs, as follows: For very large values of MaxNoOfTables + MaxNoOfAttributes, the calculation for StringMemory could overflow when creating large numbers of tables, leading to NDB error 773 (Out of string memory, please modify StringMemory config parameter), even when StringMemory was set to 100 (the maximum). Closed.