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

[jira] [Reopened] (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 ]

Sean Busbey reopened HBASE-16303:
---------------------------------

I had to revert the addendum from branch-1.3 because it broke compilation. I left the base patch in place, because TestFilter and TestFilterList passed without the addendum. Please verify that things are fine on branch-1.3 and then re-close.

> 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.3.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)