mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
ndb - bug#20197
also close scan which are in "delivered" state, as it's impossible to release locks afterwards storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: also close scan which are in "delivered" state, as it's impossible to release locks afterwards
This commit is contained in:
parent
5f91dfde9e
commit
57b262f32a
1 changed files with 12 additions and 0 deletions
|
@ -7052,6 +7052,18 @@ void Dbtc::checkScanActiveInFailedLqh(Signal* signal,
|
|||
found = true;
|
||||
}
|
||||
}
|
||||
|
||||
ScanFragList deliv(c_scan_frag_pool, scanptr.p->m_delivered_scan_frags);
|
||||
for(deliv.first(ptr); !ptr.isNull(); deliv.next(ptr))
|
||||
{
|
||||
jam();
|
||||
if (refToNode(ptr.p->lqhBlockref) == failedNodeId)
|
||||
{
|
||||
jam();
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(found){
|
||||
jam();
|
||||
|
|
Loading…
Add table
Reference in a new issue