HBASE-8316 JoinedHeap for non essential column families should reseek instead of seek
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1466711 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
85859441a1
commit
6d32cc0881
|
@ -3625,7 +3625,8 @@ public class HRegion implements HeapSize { // , Writable{
|
|||
// If joinedHeap is pointing to some other row, try to seek to a correct one.
|
||||
boolean mayHaveData =
|
||||
(nextJoinedKv != null && nextJoinedKv.matchingRow(currentRow, offset, length))
|
||||
|| (this.joinedHeap.seek(KeyValue.createFirstOnRow(currentRow, offset, length))
|
||||
|| (this.joinedHeap.requestSeek(KeyValue.createFirstOnRow(currentRow, offset, length),
|
||||
true, true)
|
||||
&& joinedHeap.peek() != null
|
||||
&& joinedHeap.peek().matchingRow(currentRow, offset, length));
|
||||
if (mayHaveData) {
|
||||
|
|
Loading…
Reference in New Issue