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

Zheng Hu updated HBASE-18410:
-----------------------------
    Release Note: 
In this task, we fixed all existing bugs in FilterList, and did the code 
refactor which ensured interface compatibility .  The primary bug  fix are : 
FilterList with MUST_PASS_ONE 

we divided the FilterList into two separated sub-classes: FilterListWithOR and 
FilterListWithAND,  The FilterListWithOR has been optimised to choose the next 
minimal step to seek cell rather than SKIP cell one by one, and the 
FilterListWithAND  has been optimised to choose the next maximal key to seek 
among sub-filters in filter list. All in all, The code in FilterList is clean 
and easier to follow now.

Note that ReturnCode NEXT_ROW has been redefined as skipping to next row in 
current family,   not to next row in all family. it’s more reasonable, because 
ReturnCode is a concept in store level, not in region level.

  was:
In this task, we fixed all existing bugs in FilterList, and did the code 
refactor which ensured interface compatibility .  we divided the FilterList 
into two separated sub-classes: FilterListWithOR and FilterListWithAND,  The 
FilterListWithOR has been optimised to choose the next minimal step to seek 
cell rather than SKIP cell one by one, and the FilterListWithAND  has been 
optimised to choose the next maximal key to seek among sub-filters in filter 
list. All in all, The code in FilterList is clean and easier to follow now.

Note that ReturnCode NEXT_ROW has been redefined as skipping to next row in 
current family,   not to next row in all family. it’s more reasonable, because 
ReturnCode is a concept in store level, not in region level.


> FilterList  Improvement. 
> -------------------------
>
>                 Key: HBASE-18410
>                 URL: https://issues.apache.org/jira/browse/HBASE-18410
>             Project: HBase
>          Issue Type: Umbrella
>          Components: Filters
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>             Fix For: 2.0.0-alpha-4
>
>
> FilterList.java is complex now, and we have found some improvements for it.  
> So create an issue to address it.    



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to