summaryrefslogtreecommitdiff
path: root/storage/ndb
diff options
context:
space:
mode:
Diffstat (limited to 'storage/ndb')
-rw-r--r--storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
index a7865c356c8..a245dbe1ff9 100644
--- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
@@ -13732,6 +13732,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;