Details
Description
KeyValueHeap#generalizedSeek
KeyValueScanner scanner = current;
while (scanner != null) {
Cell topKey = scanner.peek();
......
boolean seekResult;
if (isLazy && heap.size() > 0)
else
{ seekResult = NonLazyKeyValueScanner.doRealSeek(scanner, seekKey, forward); } ......
scanner = heap.poll();
}
(1) scanner = heap.poll(); Retrieves and removes the head of this queue
(2) scanner.requestSeek(seekKey, forward, useBloom); or NonLazyKeyValueScanner.doRealSeek(scanner, seekKey, forward);
throw exception, and scanner will have no chance to close, so will cause the scanner leak.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-17253 backport HBASE-17118 to 1.3.x
- Open