[
https://issues.apache.org/jira/browse/HBASE-12183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated HBASE-12183:
---------------------------------
Attachment: HBASE-12183.00.patch
Here's a patch for master that allows for reverse scanning by reversing the
comparison logic and constant values used in the forward direction.
See my comments in tests, I think this implementation is flawed both
directions. There are definitely edge-case bugs where the filter hits too far
ahead. Will pursue that as a separate issue because it's more complex than the
relatively simple logic inversion of this patch.
> FuzzyRowFilter doesn't support reverse scans
> --------------------------------------------
>
> Key: HBASE-12183
> URL: https://issues.apache.org/jira/browse/HBASE-12183
> Project: HBase
> Issue Type: Bug
> Components: Filters
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Attachments: 12183.patch, HBASE-12183.00.patch
>
>
> Try using the FuzzyRowFilter with a reversed scanner and you'll get an RPC
> timeout. Looking at the code, this filter ignores the reversed flag and
> always move forward when calculating the value of getNextCellHint.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)