ndb - bug#22696

  additional (not stricly necessary for this bug...)
  only send EXEC_SRCONF to node *in* SR
parent fb821d60
...@@ -15900,17 +15900,10 @@ void Dblqh::sendExecConf(Signal* signal) ...@@ -15900,17 +15900,10 @@ void Dblqh::sendExecConf(Signal* signal)
void Dblqh::srPhase3Comp(Signal* signal) void Dblqh::srPhase3Comp(Signal* signal)
{ {
jamEntry(); jamEntry();
ndbrequire(cnoOfNodes < MAX_NDB_NODES);
for (Uint32 i = 0; i < cnoOfNodes; i++) { signal->theData[0] = cownNodeid;
jam(); NodeReceiverGroup rg(DBLQH, m_sr_nodes);
if (cnodeStatus[i] == ZNODE_UP) { sendSignal(rg, GSN_EXEC_SRCONF, signal, 1, JBB);
jam();
ndbrequire(cnodeData[i] < MAX_NDB_NODES);
BlockReference ref = calcLqhBlockRef(cnodeData[i]);
signal->theData[0] = cownNodeid;
sendSignal(ref, GSN_EXEC_SRCONF, signal, 1, JBB);
}//if
}//for
return; return;
}//Dblqh::srPhase3Comp() }//Dblqh::srPhase3Comp()
......
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