Bug #24951 Data nodes died (lgman) during creating tables
Submitted: 11 Dec 2006 10:42 Modified: 30 Jun 2007 11:53
Reporter: Serge Kozlov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Disk Data Severity:S2 (Serious)
Version:5.1.15-bk OS:Linux (FC4)
Assigned to: justin he CPU Architecture:Any

[11 Dec 2006 10:42] Serge Kozlov
Description:
Creating many ndb_dd tables kills ndbd nodes:

Current byte-offset of file-pointer is: 568

Time: Monday 11 December 2006 - 11:32:24
Status: Temporary error, restart node
Message: Internal program error (failed ndbrequire) (Internal error, programming
 error or missing error message, please report a bug)
Error: 2341
Error data: lgman.cpp
Error object: LGMAN (Line: 1118) 0x0000000e
Program: ./builds/libexec/ndbd
Pid: 17688
Trace: /space/run/ndb_2_trace.log.1
Version: Version 5.1.15 (beta)
***EOM***

How to repeat:
1. Start cluster with config.ini from attached file. Following options were added to regular config:
DataMemory: 1G
IndexMemory: 500M
MaxNoOfAttributes: 50000
MaxNoOfTables: 2000
MaxNoOfOrderedIndexes: 2000
MaxNoOfUniqueHashIndexes: 2000

2. Run test script:
 ./sqe.pl -q dd_test.txt -p 127.0.0.1:3306:root::test

3. Please wait while the script will finished and look at log files
[11 Dec 2006 10:49] Serge Kozlov
trace, log files, config.ini, perl script

Attachment: bug24951.tar.gz (application/gzip, text), 139.87 KiB.

[19 Apr 2007 8:06] 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/24890

ChangeSet@1.2552, 2007-04-19 15:57:44+08:00, Justin.He@dev3-240.dev.cn.tlan +3 -0
  Bug#24951 Data nodes died(lgman) during creating tables
[23 Apr 2007 7:59] Jonas Oreland
TUP: please use addattrrefuseLab. otherwise ok
LGMAN: since this is only VM_TRACE code, then change is meaningless
       and should be removed.

/Jonas
[25 Apr 2007 3:17] 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/25363

ChangeSet@1.2553, 2007-04-25 11:08:00+08:00, Justin.He@dev3-240.dev.cn.tlan +2 -0
  Bug#24951, Data nodes died(lgman) during creating tables
[27 Apr 2007 9:48] Tomas Ulin
you are missing a parenthesis around the assign of terrorcode... you should be getting a warning
[27 Apr 2007 10:07] 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/25596

ChangeSet@1.2498, 2007-04-27 12:23:40+02:00, tomas@whalegate.ndb.mysql.com +2 -0
  Bug#24951, Data nodes died(lgman) during creating tables
[27 Apr 2007 10:13] 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/25598

ChangeSet@1.2559, 2007-04-27 18:03:44+08:00, Justin.He@dev3-240.dev.cn.tlan +2 -0
  Bug#24951, Data nodes died(lgman) during creating tables
[27 Apr 2007 11:33] 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/25600

ChangeSet@1.2500, 2007-04-27 13:50:33+02:00, tomas@whalegate.ndb.mysql.com +1 -0
  Bug#24951, Data nodes died(lgman) during creating tables
  - reverting wrong part in patch
[28 Apr 2007 19:35] Bugs System
Pushed into 5.1.18-beta
[28 Jun 2007 5:23] Tomas Ulin
fixed in 5.1.18
[30 Jun 2007 11:53] Jon Stephens
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at

  http://www.mysql.com/downloads/

Documented bugfix in 5.1.18 changelog.