Commit ad128072 authored by unknown's avatar unknown

BUG#21296 Add error messages when upgrading data node


storage/ndb/src/kernel/error/ErrorReporter.cpp:
  Add error messages.
parent e963a7cd
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <NdbHost.h> #include <NdbHost.h>
#include <NdbConfig.h> #include <NdbConfig.h>
#include <Configuration.hpp> #include <Configuration.hpp>
#include "EventLogger.hpp"
#include <NdbAutoPtr.hpp> #include <NdbAutoPtr.hpp>
...@@ -40,7 +41,7 @@ static void dumpJam(FILE* jamStream, ...@@ -40,7 +41,7 @@ static void dumpJam(FILE* jamStream,
Uint32 thrdTheEmulatedJamIndex, Uint32 thrdTheEmulatedJamIndex,
Uint8 thrdTheEmulatedJam[]); Uint8 thrdTheEmulatedJam[]);
extern EventLogger g_eventLogger;
const char* const char*
ErrorReporter::formatTimeStampString(){ ErrorReporter::formatTimeStampString(){
TimeModule DateTime; /* To create "theDateTimeString" */ TimeModule DateTime; /* To create "theDateTimeString" */
...@@ -196,6 +197,9 @@ ErrorReporter::handleError(int messageID, ...@@ -196,6 +197,9 @@ ErrorReporter::handleError(int messageID,
WriteMessage(messageID, problemData, WriteMessage(messageID, problemData,
objRef, theEmulatedJamIndex, theEmulatedJam); objRef, theEmulatedJamIndex, theEmulatedJam);
g_eventLogger.info(problemData);
g_eventLogger.info(objRef);
childReportError(messageID); childReportError(messageID);
if(messageID == NDBD_EXIT_ERROR_INSERT){ if(messageID == NDBD_EXIT_ERROR_INSERT){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment