Commit 57b262f3 authored by unknown's avatar unknown

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
parent 5f91dfde
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment