You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Amal Joshy (JIRA)" <ji...@apache.org> on 2016/02/19 07:34:18 UTC

[jira] [Updated] (HBASE-15247) InclusiveStopFilter does not respect reverse Filter property

     [ https://issues.apache.org/jira/browse/HBASE-15247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amal Joshy updated HBASE-15247:
-------------------------------
        Fix Version/s: 1.1.1
                       2.0.0
    Affects Version/s: 2.0.0
               Status: Patch Available  (was: Open)

> InclusiveStopFilter does not respect reverse Filter property
> ------------------------------------------------------------
>
>                 Key: HBASE-15247
>                 URL: https://issues.apache.org/jira/browse/HBASE-15247
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 1.1.1, 2.0.0
>            Reporter: Rick Moritz
>            Assignee: Amal Joshy
>             Fix For: 2.0.0, 1.1.1
>
>
> InclusiveStopFilter only works with non-reversed Scans, it will not filter for reversed Scans, because it doesn't flip the cmp-operand in the reversed case. In fact, it doesn't even use the Filter.reverse flag.
> it should be something like this:
> if (reversed) {
>             if (cmp > 0) {
>                 done = true;
>             }
>         }
>         else {
>             if (cmp < 0) {
>                 done = true;
>             }
>         }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)