Bug #52180 ndbmtd stops in phase 4 with error in DBDICT (Line: 17265)
Submitted: 18 Mar 2010 13:52 Modified: 22 Apr 2010 7:56
Reporter: Daniël van Eeden Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:mysql-5.1 ndb-7.0 OS:Linux (Ubuntu 6.06.2 LTS)
Assigned to: Assigned Account CPU Architecture:Any
Tags: mysql-5.1.37 ndb-7.0.8

[18 Mar 2010 13:52] Daniël van Eeden
Description:
After a power outage all data nodes fail to start.

Time: Thursday 18 March 2010 - 14:32:21
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: dbdict/Dbdict.cpp
Error object: DBDICT (Line: 17265) 0x00000002
Program: /usr/local/mysql/bin/ndbmtd
Pid: 10084 thr: 0
Version: mysql-5.1.37 ndb-7.0.8a
Trace: /export/mysql-cluster//ndb_5_trace.log.1 /export/mysql-cluster//ndb_5_trace.log.1_t1 /export/mysql-clus

How to repeat:
Start ndbmtd

Suggested fix:
Unknown
[22 Mar 2010 13:58] Pekka Nousiainen
Context:

Dbdict::getIndexAttr(TableRecordPtr indexPtr, Uint32 itAttr, Uint32* id)

For ordered index attribute tries to find the attribute in primary table
(lookup is by name).  Not found => crash.

This looks like dictionary corruption.
[22 Mar 2010 14:02] Pekka Nousiainen
Daniel, can you upload the contents of D1 and D2,
so the corruption can be verified.
[23 Mar 2010 15:55] Pekka Nousiainen
Just in case, did you do an upgrade from 6.3 ?
See description in bug#48227.
[22 Apr 2010 7:56] Pekka Nousiainen
The schemafile had version 6.3.20.
The bug here has probably same cause as bug#48227.
Closing this as duplicate (or else unsolvable).