hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [5/5] hbase git commit: HBASE-16296 Reverse scan performance degrades when using filter lists (Ted Yu and Lars Hofhansl)
Date Tue, 02 Aug 2016 01:03:21 GMT
HBASE-16296 Reverse scan performance degrades when using filter lists (Ted Yu and Lars Hofhansl)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e3e7525e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e3e7525e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e3e7525e

Branch: refs/heads/0.98
Commit: e3e7525e716fa67a13ed062de488062edca7e4e4
Parents: 7f139a6
Author: Andrew Purtell <apurtell@apache.org>
Authored: Mon Aug 1 18:01:39 2016 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Aug 1 18:01:39 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e3e7525e/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index bd2b7e3..ec84ba9 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -4333,7 +4333,7 @@ public class HRegion implements HeapSize { // , Writable{
           // Check if rowkey filter wants to exclude this row. If so, loop to next.
           // Technically, if we hit limits before on this row, we don't need this call.
           if (filterRowKey(currentRow, offset, length)) {
-            boolean moreRows = nextRow(currentRow, offset, length);
+            boolean moreRows = !isFilterDoneInternal() && nextRow(currentRow, offset,
length);
             if (!moreRows) return false;
             results.clear();
             continue;


Mime
View raw message