You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2016/08/08 04:04:20 UTC

[jira] [Resolved] (HBASE-16303) FilterList with MUST_PASS_ONE optimization

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

ramkrishna.s.vasudevan resolved HBASE-16303.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> FilterList with MUST_PASS_ONE optimization
> ------------------------------------------
>
>                 Key: HBASE-16303
>                 URL: https://issues.apache.org/jira/browse/HBASE-16303
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-16303.patch, HBASE-16303.patch, HBASE-16303_1.patch, HBASE-16303_1.patch
>
>
> This JIRA was created to add @Test tag for all the filter related tests. After doing that one such test failed in TestFilterList#testFilterListTwoFiltersMustPassOne.
> The test assumes that when a PrefixFilter is added to a filterlist once the given prefix is passed we should SKIP all other rows. But the impl in FilterList for MUST_PASS_ONE filter is such that once the filter in the list sees that filterAllRemaining is true we don't use that to decide if to to SEE_NEXT_USING_HINT or not. This patch tries to handle that case where if for a filter FilterAllRemaining is true then SEEK_NEXT_USING_HINT need not be done. 



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