Bug #16873 DD: ndbrestore needs to state rebuilding DD files
Submitted: 28 Jan 2006 19:34 Modified: 6 Feb 2006 23:47
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.6-alpha OS:Linux (Linux 32 Bit OS)
Assigned to: Jonas Oreland CPU Architecture:Any

[28 Jan 2006 19:34] Jonathan Miller
Description:
No output to tell customer the ndbrestore is creating DD data and undo files makes it appear to be hung on creation of large data files.

[ndbdev@ndb13 BACKUP-6MR-2DN-CDD]$  ndb_restore --ndb-connectstring=$ndbc -b 1 -n 2 -r -m
Backup Id = 1
Nodeid = 2
backup path = ./
Ndb version in backup files: Version 5.1.6
Connected to ndb!!

How to repeat:
Back large database, and restore

Suggested fix:
[ndbdev@ndb13 BACKUP-6MR-2DN-CDD]$  ndb_restore --ndb-connectstring=$ndbc -b 1 -n 2 -r -m
Backup Id = 1
Nodeid = 2
backup path = ./
Ndb version in backup files: Version 5.1.6
Connected to ndb!!
Rebuilding Disk Data Files, please stand by.
[6 Feb 2006 9:08] 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/2172
[6 Feb 2006 9:10] Jonas Oreland
pushed into 5.1.7
It now prints while creating dd objects
[6 Feb 2006 23:47] Mike Hillyer
Added to 5.1.7 changelog:

   <listitem><para>
        Status messages added to NDB restore to allow users to know that
        DD data files are being created. (Bug #16873)
      </para></listitem>