mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
#26906 No message slogan found
- added errormessage and code for "declaring node dead"
This commit is contained in:
parent
391265636d
commit
e53efba0e5
3 changed files with 4 additions and 1 deletions
|
@ -79,6 +79,7 @@ typedef ndbd_exit_classification_enum ndbd_exit_classification;
|
||||||
#define NDBD_EXIT_NO_MORE_UNDOLOG 2312
|
#define NDBD_EXIT_NO_MORE_UNDOLOG 2312
|
||||||
#define NDBD_EXIT_SR_UNDOLOG 2313
|
#define NDBD_EXIT_SR_UNDOLOG 2313
|
||||||
#define NDBD_EXIT_SINGLE_USER_MODE 2314
|
#define NDBD_EXIT_SINGLE_USER_MODE 2314
|
||||||
|
#define NDBD_EXIT_NODE_DECLARED_DEAD 2315
|
||||||
#define NDBD_EXIT_MEMALLOC 2327
|
#define NDBD_EXIT_MEMALLOC 2327
|
||||||
#define NDBD_EXIT_BLOCK_JBUFCONGESTION 2334
|
#define NDBD_EXIT_BLOCK_JBUFCONGESTION 2334
|
||||||
#define NDBD_EXIT_TIME_QUEUE_SHORT 2335
|
#define NDBD_EXIT_TIME_QUEUE_SHORT 2335
|
||||||
|
|
|
@ -2816,7 +2816,7 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
|
||||||
if (failedNodePtr.i == getOwnNodeId()) {
|
if (failedNodePtr.i == getOwnNodeId()) {
|
||||||
jam();
|
jam();
|
||||||
|
|
||||||
Uint32 code = 0;
|
Uint32 code = NDBD_EXIT_NODE_DECLARED_DEAD;
|
||||||
const char * msg = 0;
|
const char * msg = 0;
|
||||||
char extra[100];
|
char extra[100];
|
||||||
switch(aFailCause){
|
switch(aFailCause){
|
||||||
|
|
|
@ -57,6 +57,8 @@ static const ErrStruct errArray[] =
|
||||||
"error(s) on other node(s)"},
|
"error(s) on other node(s)"},
|
||||||
{NDBD_EXIT_PARTITIONED_SHUTDOWN, XAE, "Partitioned cluster detected. "
|
{NDBD_EXIT_PARTITIONED_SHUTDOWN, XAE, "Partitioned cluster detected. "
|
||||||
"Please check if cluster is already running"},
|
"Please check if cluster is already running"},
|
||||||
|
{NDBD_EXIT_NODE_DECLARED_DEAD, XAE,
|
||||||
|
"Node declared dead. See error log for details"},
|
||||||
{NDBD_EXIT_POINTER_NOTINRANGE, XIE, "Pointer too large"},
|
{NDBD_EXIT_POINTER_NOTINRANGE, XIE, "Pointer too large"},
|
||||||
{NDBD_EXIT_SR_OTHERNODEFAILED, XRE, "Another node failed during system "
|
{NDBD_EXIT_SR_OTHERNODEFAILED, XRE, "Another node failed during system "
|
||||||
"restart, please investigate error(s) on other node(s)"},
|
"restart, please investigate error(s) on other node(s)"},
|
||||||
|
|
Loading…
Reference in a new issue