Repository: phoenix
Updated Branches:
  refs/heads/master ef7560f50 -> cb21c8175


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/cb21c817
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cb21c817
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cb21c817

Branch: refs/heads/master
Commit: cb21c8175534fc15f0d3934e7dd24754475c0735
Parents: ef7560f
Author: Samarth <[email protected]>
Authored: Thu Jul 28 13:58:25 2016 -0700
Committer: Samarth <[email protected]>
Committed: Thu Jul 28 13:58:25 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/cb21c817/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