hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1466708 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Wed, 10 Apr 2013 22:12:53 GMT
Author: larsh
Date: Wed Apr 10 22:12:53 2013
New Revision: 1466708

URL: http://svn.apache.org/r1466708
Log:
HBASE-8316 JoinedHeap for non essential column families should reseek instead of seek

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=1466708&r1=1466707&r2=1466708&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java Wed
Apr 10 22:12:53 2013
@@ -3985,7 +3985,8 @@ public class HRegion implements HeapSize
             // 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) {



Mime
View raw message