mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
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:
parent
a29f527635
commit
f8c691172a
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue