Commit f8c69117 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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;