hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1376804 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Fri, 24 Aug 2012 01:20:19 GMT
Author: larsh
Date: Fri Aug 24 01:20:19 2012
New Revision: 1376804

URL: http://svn.apache.org/viewvc?rev=1376804&view=rev
Log:
HBASE-6577 REVERT

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=1376804&r1=1376803&r2=1376804&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 Fri
Aug 24 01:20:19 2012
@@ -3481,7 +3481,7 @@ public class HRegion implements HeapSize
             // there're no left overs.
             // the reasons for calling this method are:
             // 1. reset the filters.
-            // 2. fast forward the row
+            // 2. provide a hook to fast forward the row (used by subclasses)
             nextRow(currentRow);
 
             // This row was totally filtered out, if this is NOT the last row,
@@ -3504,9 +3504,6 @@ public class HRegion implements HeapSize
     }
 
     protected void nextRow(byte [] currentRow) throws IOException {
-      KeyValue kv = KeyValue.createLastOnRow(currentRow);
-      this.storeHeap.requestSeek(kv, true, true);
-
       while (Bytes.equals(currentRow, peekRow())) {
         this.storeHeap.next(MOCKED_LIST);
       }



Mime
View raw message