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
This commit is contained in:
unknown 2006-12-01 13:57:29 +01:00
parent a29f527635
commit f8c691172a

View file

@ -10156,6 +10156,15 @@ Dbdict::checkDictLockQueue(Signal* signal, bool poll)
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);
lockPtr.p->locked = true;
c_blockState = lockPtr.p->lt->blockState;