Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 02cc2d0fd -> e8cb5de17


PHOENIX-3121 Mention dependency on HBASE-16296


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

Branch: refs/heads/4.x-HBase-1.1
Commit: e8cb5de17c228b3296c22bbc0faa65a3ddfbba36
Parents: 02cc2d0
Author: Samarth <[email protected]>
Authored: Thu Jul 28 14:00:11 2016 -0700
Committer: Samarth <[email protected]>
Committed: Thu Jul 28 14:00:11 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e8cb5de1/phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java 
b/phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
index 868378e..b573f07 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
@@ -236,8 +236,8 @@ public abstract class BaseQueryPlan implements QueryPlan {
         
         if (OrderBy.REV_ROW_KEY_ORDER_BY.equals(orderBy)) {
             ScanUtil.setReversed(scan);
-            // Hack for working around PHOENIX-3121 (reverse scans fail when 
limit is a multiple of scanner cache size).
-            //TODO: remove once PHOENIX-3121 is fixed.
+            // Hack for working around PHOENIX-3121 and HBASE-16296.
+            // TODO: remove once PHOENIX-3121 and/or HBASE-16296 are fixed.
             int scannerCacheSize = context.getStatement().getFetchSize();
             if (limit != null && limit % scannerCacheSize == 0) {
                 scan.setCaching(scannerCacheSize + 1);

Reply via email to