[ 
https://issues.apache.org/jira/browse/PHOENIX-4742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479832#comment-16479832
 ] 

James Taylor commented on PHOENIX-4742:
---------------------------------------

FYI, I'm looking at this now, [~sergey.soldatov]. It's a bug in the way 
descending row keys are handled by DistinctPrefixFilter. We're generating a 
seek next hint that's smaller than the current key. In HBase 1.4 this causes an 
infinite loop. In other versions of HBase, this seems to just cause the filter 
to go to the next row. I'll try to tweak the logic correctly for descending 
keys.

> Prevent infinite loop with HBase 1.4 and DistinctPrefixFilter
> -------------------------------------------------------------
>
>                 Key: PHOENIX-4742
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4742
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Sergey Soldatov
>            Priority: Major
>
> OrderByIT.testOrderByReverseOptimizationWithNUllsLastBug3491 is the only test 
> failing on master (i.e. HBase 1.4). It's getting into an infinite loop when a 
> reverse scan is done for the DistinctPrefixFilter. It'd be nice to fix this 
> so we can do a release for HBase 1.4. At a minimum, we could disableĀ 
> DistinctPrefixFilter when a reverse scan is being done (for HBase 1.4 only).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to