Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.0 aafa07962 -> 23ac6a487


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

Branch: refs/heads/4.x-HBase-1.0
Commit: 23ac6a4871189af2494b4be593dee77b4a181d34
Parents: aafa079
Author: Samarth <samarth.j...@salesforce.com>
Authored: Thu Jul 28 13:59:38 2016 -0700
Committer: Samarth <samarth.j...@salesforce.com>
Committed: Thu Jul 28 13:59:38 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/23ac6a48/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 00c2ce7..5f9eb7d 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