hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r664180 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Fri, 06 Jun 2008 22:58:11 GMT
Author: stack
Date: Fri Jun  6 15:58:10 2008
New Revision: 664180

URL: http://svn.apache.org/viewvc?rev=664180&view=rev
Log:
HBASE-665 server side scanner doesn't honor stop row

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=664180&r1=664179&r2=664180&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java Fri Jun
 6 15:58:10 2008
@@ -1822,7 +1822,11 @@
         }
         
         filtered = filter == null ? false : filter.filterRow(results);
-
+        
+        if (filter != null && filter.filterAllRemaining()) {
+          moreToFollow = false;
+        }
+        
         if (moreToFollow) {
           if (filter != null) {
             filter.rowProcessed(filtered, key.getRow());



Mime
View raw message