Bug #16267 DD: msg: Failed to create UNDOFILE needs to be changed
Submitted: 6 Jan 2006 22:01 Modified: 20 Jan 2006 16:18
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.5 OS:Linux (Linux)
Assigned to: Jon Stephens CPU Architecture:Any

[6 Jan 2006 22:01] Jonathan Miller
Description:
mysql> CREATE LOGFILE GROUP lg1 ADD UNDOFILE '/space/run/undofile.dat'
INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB; ERROR 1502 (HY000): Failed to create UNDOFILE

Error message need to be more descriptive. For Example:
 "ERROR 1502 (HY000): Failed to create UNDOFILE. File already exists! This might be a result of specifying an absolute path in a multi node configuration. "

How to repeat:
see above
[10 Jan 2006 9:39] Jonas Oreland
I expanded error message...please retest
[10 Jan 2006 14:27] Jonathan Miller
Sorry, still getting same message.
[10 Jan 2006 14:27] Jonathan Miller
Sorry, still getting same message.
[10 Jan 2006 14:28] Jonas Oreland
Didnt I mention that I added them in "show warnings"...
[10 Jan 2006 14:34] Jonathan Miller
mysql> CREATE LOGFILE GROUP lg2 ADD UNDOFILE '/space/run/undofile.dat' INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB;
ERROR 1502 (HY000): Failed to create UNDOFILE
mysql> show warnings;
+-------+------+----------------------------------------------------------------------------+
| Level | Code | Message                                                                    |
+-------+------+----------------------------------------------------------------------------+
| Error | 1296 | Got error 1509 'File system error, check if path,permissions etc' from NDB |
| Error | 1502 | Failed to create UNDOFILE                                                  |
+-------+------+----------------------------------------------------------------------------+
2 rows in set (0.00 sec)
[18 Jan 2006 18:34] Mike Hillyer
Does this need a changelog entry? What is the version number, what should the text be?
[20 Jan 2006 16:18] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Documented in 5.1.6 changelog. Closed.