Bug #51222 Assert in DBDICT after restore
Submitted: 16 Feb 2010 22:09
Reporter: Andrew Hutchings Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:mysql-5.1-telco-7.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: 7.0.11a

[16 Feb 2010 22:09] Andrew Hutchings
Description:
After a restore using disable-indexes then rebuild-indexes a table operation crashes ndbd with:

Message: Assertion (Internal error, programming error or missing error message, please report a bug)
Error: 2301
Error data: ArrayPool<T>::getPtr
Error object: ../../../../../storage/ndb/src/kernel/vm/ArrayPool.hpp line: 451 (block: DBDICT)
Program: /home/linuxjedi/Programming/Builds/mysql-cluster-com-7.0.11a/libexec/ndbd

Subsequent starts crash with:

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: 17657) 0x0000000a
Program: /home/linuxjedi/Programming/Builds/mysql-cluster-com-7.0.11a/libexec/ndbd

How to repeat:
1. Create table with unique
2. insert a few rows
3. ndb_mgm> start backup
4. shell> ndb_restore --backupid=1 --nodeid=2 --parallelism=64 --skip-table-check --exclude-table=mysql.ndb_replication --disable-indexes --restore_data
5. shell> ndb_restore --backupid=2 --nodeid=2 --parallelism=64 --skip-table-check --exclude-table=mysql.ndb_replication --rebuild-indexes
6. drop table the table in mysql

Node failure at step 6
[16 Feb 2010 22:11] Andrew Hutchings
Logs and config.ini

Attachment: bug_51222.tar.gz (application/x-gzip, text), 216.23 KiB.

[22 Feb 2010 9:42] Jonas Oreland
This bug surfaced due to bug#51374, now that 51374 is fixed,
it feels like this is very very unlikely to occur.

I think it therefor should be a P3