Bug #12716 Proper error messqge not set when disk is full
Submitted: 22 Aug 2005 8:43 Modified: 1 Sep 2005 1:57
Reporter: Johan Andersson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:* OS:Any (*)
Assigned to: Tomas Ulin

[22 Aug 2005 8:43] Johan Andersson
Description:
When the disk is full the ndbd node(s) crashes, but an error message is not written in the error log. The message written in the error log is:

Date/Time: Wednesday 17 August 2005 - 13:18:57
Type of error: error
Message: No message slogan found
Fault ID: 0
Problem data: 
Object of reference: DBDICT (Line: 0) 0x00000008
ProgramName: /usr/mysql/libexec/ndbd
ProcessID: 2501
TraceFile: /var/local/nectar/log//ndb_3_trace.log.2
Version 5.1.0 (a_drop5p2)

I.e, "No message slogan found".
But the trace file writes "ErrorCode: 5, No space left on device!"

 -------- Signal ----------------
r.bn: 247 "DBLQH", r.proc: 4, r.sigId: 284229715 gsn: 271 "FSWRITEREF"
prio: 1
s.bn: 253 "NDBFS", s.proc: 4, s.sigId: 284229713 length: 4 trace: 2
#sec: 0 fragInf: 0
UserPointer: 4
ErrorCode: 5, No space left on device!
OS ErrorCode: 28
--------------- Signal ----------------

--------------- Signal ----------------
r.bn: 247 "DBLQH", r.proc: 3, r.sigId: 322133639 gsn: 271 "FSWRITEREF"
prio: 1
s.bn: 253 "NDBFS", s.proc: 3, s.sigId: 322133637 length: 4 trace: 2
#sec: 0 fragInf: 0
UserPointer: 1
ErrorCode: 5, No space left on device!
OS ErrorCode: 28
--------------- Signal ----------------

It would be good if the error message is also written to the error log.

How to repeat:
Fillup the file system of ndbd

Suggested fix:
Write error message in error log also!
[31 Aug 2005 17:14] Tomas Ulin
Error messages for filesystem errors cleaned up from 4.1.15 and 5.0.12
[1 Sep 2005 1:57] Paul Dubois
Noted in 4.1.15, 5.0.12 changelogs.