Commit a67b02a0 authored by unknown's avatar unknown

BUG#25741 AllocNodeIdRef::NodeFailureHandlingNotCompleted


storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
  When running nodes return AllocNodeIdRef::NodeFailureHandlingNotCompleted error during applying the node id for restarting nodes, it should try again.
storage/ndb/src/ndbapi/ndberror.c:
  change AllocNodeIdRef::NodeFailureHandlingNotCompleted error from permanent error to temporary error
parent 4bf99024
...@@ -2160,7 +2160,8 @@ MgmtSrvr::alloc_node_id_req(NodeId free_node_id, enum ndb_mgm_node_type type) ...@@ -2160,7 +2160,8 @@ MgmtSrvr::alloc_node_id_req(NodeId free_node_id, enum ndb_mgm_node_type type)
const AllocNodeIdRef * const ref = const AllocNodeIdRef * const ref =
CAST_CONSTPTR(AllocNodeIdRef, signal->getDataPtr()); CAST_CONSTPTR(AllocNodeIdRef, signal->getDataPtr());
if (ref->errorCode == AllocNodeIdRef::NotMaster || if (ref->errorCode == AllocNodeIdRef::NotMaster ||
ref->errorCode == AllocNodeIdRef::Busy) ref->errorCode == AllocNodeIdRef::Busy ||
ref->errorCode == AllocNodeIdRef::NodeFailureHandlingNotCompleted)
{ {
do_send = 1; do_send = 1;
nodeId = refToNode(ref->masterRef); nodeId = refToNode(ref->masterRef);
......
...@@ -471,7 +471,7 @@ ErrorBundle ErrorCodes[] = { ...@@ -471,7 +471,7 @@ ErrorBundle ErrorCodes[] = {
{ 1700, DMEC, IE, "Undefined error" }, { 1700, DMEC, IE, "Undefined error" },
{ 1701, DMEC, AE, "Node already reserved" }, { 1701, DMEC, AE, "Node already reserved" },
{ 1702, DMEC, AE, "Node already connected" }, { 1702, DMEC, AE, "Node already connected" },
{ 1703, DMEC, AE, "Node failure handling not completed" }, { 1703, DMEC, IT, "Node failure handling not completed" },
{ 1704, DMEC, AE, "Node type mismatch" }, { 1704, DMEC, AE, "Node type mismatch" },
/** /**
......
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