Bug #20787 | ndb_restore produces core dump during restore operation | ||
---|---|---|---|
Submitted: | 29 Jun 2006 22:41 | Modified: | 18 Jul 2006 7:47 |
Reporter: | Nikolay Grishakin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S1 (Critical) |
Version: | 5.1 | OS: | Linux (Linux) |
Assigned to: | Pekka Nousiainen | CPU Architecture: | Any |
[29 Jun 2006 22:41]
Nikolay Grishakin
[13 Jul 2006 12:48]
Pekka Nousiainen
seems to be some very bad memory corruption in ndb_restore
[15 Jul 2006 15:44]
Pekka Nousiainen
Several confusions here - in 5.1 if ndb_restore fails, it produces a core - gdb must be applied to lt-ndb_restore, not ndb_restore (my error) - ndb_restore fails because LOGFILE GROUP lg exists - ndb_restore prints this error as "info" (not seen, will fix) Fix to test case is, add DROP before the restore command + DROP LOGFILE GROUP lg ENGINE=NDB; -- source include/ndb_restore_master.inc Setting this to "Not a Bug".
[17 Jul 2006 21:18]
Jonathan Miller
We need to address the issues causing the core in this test case. We can the alter the test case, but alter the test case just to advoid a core is not the correct solution here. /jeb
[18 Jul 2006 7:47]
Pekka Nousiainen
clarify 2 remarks and close this. > in 5.1 if ndb_restore fails, it produces a core in 5.1, ndb programs have option --core-file [= true/false ] which means to dump core ie. abort() on any error. default value of the option is true iff source is debug compiled (VM_TRACE defined). > ndb_restore prints this error as "info" "info" is printed to stdout, or may not be printed at all unless there is some "verbose" option (havent checked ndb_restore). changed 4 such printouts to use "err" which is always printed and goes to stderr, so it will be seen in the test log.