From 76bdda55238387369c7b1f492e8fc3ef2654e9bf Mon Sep 17 00:00:00 2001 From: "jonas@perch.ndb.mysql.com" <> Date: Fri, 1 Dec 2006 13:57:29 +0100 Subject: [PATCH] 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp index f5b43a76f62..3e2952c3f3d 100644 --- a/ndb/src/kernel/blocks/dbdict/Dbdict.cpp +++ b/ndb/src/kernel/blocks/dbdict/Dbdict.cpp @@ -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;