Commit f8c69117 authored by unknown's avatar unknown

ndb - bug#24752

  This prevent any subsequent node restarts, but it's better than crashing an alive node


ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Fix for bug#24752
  This prevent any subsequent node restarts, but it's better than crashing an alive node
parent a29f5276
...@@ -10156,6 +10156,15 @@ Dbdict::checkDictLockQueue(Signal* signal, bool poll) ...@@ -10156,6 +10156,15 @@ Dbdict::checkDictLockQueue(Signal* signal, bool poll)
break; break;
} }
if (c_blockState != BS_IDLE)
{
/**
* If state is BS_NODE_FAILURE, it might be that no op is running
*/
jam();
break;
}
ndbrequire(c_blockState == BS_IDLE); ndbrequire(c_blockState == BS_IDLE);
lockPtr.p->locked = true; lockPtr.p->locked = true;
c_blockState = lockPtr.p->lt->blockState; c_blockState = lockPtr.p->lt->blockState;
......
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