[
https://issues.apache.org/jira/browse/HBASE-22144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814507#comment-16814507
]
Josh Elser commented on HBASE-22144:
------------------------------------
Thanks for taking a look, Toshi.
bq. In reverse scan, startRow should be bigger than stopRow. So I think we
should be also able to specify in the same way in RowRange when using
MultiRowRangeFilter in reverse scan.
This is something we could consider, but I don't want to convolute this bug fix
with changing how the implementation works, especially when this is public API
(and we have to be certain that we aren't breaking user-code).
> MultiRowRangeFilter does not work with reversed scans
> -----------------------------------------------------
>
> Key: HBASE-22144
> URL: https://issues.apache.org/jira/browse/HBASE-22144
> Project: HBase
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Major
> Attachments: HBASE-22144.001.patch, HBASE-22144.002.patch,
> HBASE-22144.002.patch
>
>
> It appears that MultiRowRangeFilter was never written to function with
> reverse scans. There is too much logic that operates with the assumption that
> we are always moving "forward" through increasing ranges. It needs to be
> rewritten to "traverse" forward or backward, given how the context of the
> scan being used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)