Commit e40bdb5b authored by unknown's avatar unknown

merge

parent 66daa375
...@@ -834,7 +834,7 @@ Qmgr::check_readnodes_reply(Signal* signal, Uint32 nodeId, Uint32 gsn) ...@@ -834,7 +834,7 @@ Qmgr::check_readnodes_reply(Signal* signal, Uint32 nodeId, Uint32 gsn)
CRASH_INSERTION(932); CRASH_INSERTION(932);
progError(__LINE__, progError(__LINE__,
ERR_ARBIT_SHUTDOWN, NDBD_EXIT_ARBIT_SHUTDOWN,
buf); buf);
ndbrequire(false); ndbrequire(false);
...@@ -1002,7 +1002,7 @@ Qmgr::electionWon(Signal* signal){ ...@@ -1002,7 +1002,7 @@ Qmgr::electionWon(Signal* signal){
c_stopElectionTime = ~0; c_stopElectionTime = ~0;
c_start.reset(); c_start.reset();
signal->theData[0] = EventReport::CM_REGCONF; signal->theData[0] = NDB_LE_CM_REGCONF;
signal->theData[1] = getOwnNodeId(); signal->theData[1] = getOwnNodeId();
signal->theData[2] = cpresident; signal->theData[2] = cpresident;
signal->theData[3] = 1; signal->theData[3] = 1;
...@@ -2071,7 +2071,7 @@ void Qmgr::execDISCONNECT_REP(Signal* signal) ...@@ -2071,7 +2071,7 @@ void Qmgr::execDISCONNECT_REP(Signal* signal)
{ {
char buf[100]; char buf[100];
BaseString::snprintf(buf, 100, "Node %u disconected", nodeId); BaseString::snprintf(buf, 100, "Node %u disconected", nodeId);
progError(__LINE__, ERR_SR_OTHERNODEFAILED, buf); progError(__LINE__, NDBD_EXIT_SR_OTHERNODEFAILED, buf);
ndbrequire(false); ndbrequire(false);
} }
} }
...@@ -2361,7 +2361,7 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode, ...@@ -2361,7 +2361,7 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
break; break;
case FailRep::ZPARTITIONED_CLUSTER: case FailRep::ZPARTITIONED_CLUSTER:
{ {
code = ERR_ARBIT_SHUTDOWN; code = NDBD_EXIT_ARBIT_SHUTDOWN;
char buf1[100], buf2[100]; char buf1[100], buf2[100];
c_clusterNodes.getText(buf1); c_clusterNodes.getText(buf1);
if (signal->getLength()== FailRep::SignalLength + FailRep::ExtraLength && if (signal->getLength()== FailRep::SignalLength + FailRep::ExtraLength &&
...@@ -2386,6 +2386,11 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode, ...@@ -2386,6 +2386,11 @@ void Qmgr::failReportLab(Signal* signal, Uint16 aFailedNode,
msg = extra; msg = extra;
break; break;
} }
case FailRep::ZMULTI_NODE_SHUTDOWN:
msg = "Multi node shutdown";
break;
default:
msg = "<UNKNOWN>";
} }
CRASH_INSERTION(932); CRASH_INSERTION(932);
......
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