Bug #50904 ndb_restore: Failed to finalize restore table
Submitted: 4 Feb 2010 9:31 Modified: 5 Feb 2010 13:26
Reporter: Geert Vanderkelen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-cluster-drop6p18 OS:Any
Assigned to: Jonas Oreland CPU Architecture:Any

[4 Feb 2010 9:31] Geert Vanderkelen
Description:
A restore fails with following error message:

Restored 5041049 tuples and 531 log entries
Restore: Failed to finalize restore table: dbname/def/tablename. Exiting

Despite the error, the backup did seem to restore OK.
The same error happened on different data nodes, but with the same table.

The DDL of the table looks like this:

CREATE TABLE `tablename` (
`id` int(11) NOT NULL auto_increment,
`c1` binary(1) default NULL,
`c2` binary(10) NOT NULL,
PRIMARY KEY USING HASH (`id`),
UNIQUE KEY `tablename` USING HASH (`c2`)
) ENGINE=NDB DEFAULT CHARSET=latin1 COLLATE=latin1_bin PARTITION BY KEY (id);

How to repeat:
No good case yet, but it was at least 2 times repeatable.
[5 Feb 2010 13:26] Jonas Oreland
fixed in drop6p20,
no changelog needed,
closing