BUG#20121 missing err msg for ENOSPC getting BACKUP_FRAGMENT_REF in LQH from BACKUP would bail on ndbrequire(false) instead of having good error message. Can re-use error code from BACKUP as it's a FsRef error code, which is NDBD_EXIT... except when it isn't. Index: ndb-work/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp =================================================================== --- ndb-work.orig/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp 2007-02-07 21:47:02.685229250 +1100 +++ ndb-work/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp 2007-02-07 21:51:29.249888500 +1100 @@ -62,6 +62,7 @@ #include #include #include +#include // Use DEBUG to print messages that should be // seen only when we debug the product @@ -11434,7 +11435,17 @@ void Dblqh::execBACKUP_FRAGMENT_REF(Signal* signal) { - ndbrequire(false); + BackupFragmentRef *ref= (BackupFragmentRef*)signal->getDataPtr(); + char buf[100]; + BaseString::snprintf(buf,sizeof(buf), + "Unable to store fragment during LCP. NDBFS Error: %u", + ref->errorCode); + + progError(__LINE__, + (ref->errorCode & FsRef::FS_ERR_BIT)? + NDBD_EXIT_AFS_UNKNOWN + : ref->errorCode, + buf); } void Dblqh::execBACKUP_FRAGMENT_CONF(Signal* signal)