Commit f0b50825 authored by unknown's avatar unknown

ndb - bug#25329

  extra sledge hammer, (real 51)
  use dicklock to prevent SUB_START_REQ during node recovery


storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  use dicklock to prevent SUB_START_REQ during node recovery
parent db007003
......@@ -10050,9 +10050,20 @@ void Dbdict::execSUB_START_REQ(Signal* signal)
}
OpSubEventPtr subbPtr;
Uint32 errCode = 0;
DictLockPtr loopPtr;
if (c_dictLockQueue.first(loopPtr) &&
loopPtr.p->lt->lockType == DictLockReq::NodeRestartLock)
{
jam();
errCode = 1405;
goto busy;
}
if (!c_opSubEvent.seize(subbPtr)) {
errCode = SubStartRef::Busy;
busy:
jam();
SubStartRef * ref = (SubStartRef *)signal->getDataPtrSend();
{ // fix
......
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