diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-12-01 13:57:29 +0100 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-12-01 13:57:29 +0100 |
commit | f8c691172a72bb1ed39e4ed13c091ea22df68c78 (patch) | |
tree | 41d21e59daa52e089b368e6b2781d020242c0a9d /ndb | |
parent | a29f527635fa043ba52fcd5a061d91adb3512628 (diff) | |
download | mariadb-git-f8c691172a72bb1ed39e4ed13c091ea22df68c78.tar.gz |
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
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/dbdict/Dbdict.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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; |