hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-15358 canEnforceTimeLimitFromScope should use timeScope instead of sizeScope
Date Mon, 29 Feb 2016 09:28:51 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 998e339d6 -> 03a02969c


HBASE-15358 canEnforceTimeLimitFromScope should use timeScope instead of sizeScope

Signed-off-by: zhangduo <zhangduo@apache.org>


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

Branch: refs/heads/branch-1
Commit: 03a02969c47b2cc3d9f4918b0dd0886f1835d783
Parents: 998e339
Author: Phil Yang <ud1937@gmail.com>
Authored: Mon Feb 29 16:26:51 2016 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Mon Feb 29 17:22:23 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/03a02969/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java
index a927789..d7800ea 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java
@@ -626,7 +626,7 @@ public class ScannerContext {
      * @return true when the limit can be enforced from the scope of the checker
      */
     boolean canEnforceTimeLimitFromScope(LimitScope checkerScope) {
-      return this.sizeScope.canEnforceLimitFromScope(checkerScope);
+      return this.timeScope.canEnforceLimitFromScope(checkerScope);
     }
 
     @Override


Mime
View raw message