You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/03/03 16:24:18 UTC

[jira] [Updated] (HBASE-15243) Utilize the lowest seek value when all Filters in MUST_PASS_ONE FilterList return SEEK_NEXT_USING_HINT

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

Ted Yu updated HBASE-15243:
---------------------------
    Description: 
As Preston Koprivica pointed out at the tail of HBASE-4394, when all filters in a MUST_PASS_ONE FilterList return a SEEK_USING_NEXT_HINT code, we should return SEEK_NEXT_USING_HINT from the FilterList to utilize the lowest seek value.

This would save unnecessary accesses to blocks which are not in scan result.

A unit test has been added which shows the reduction in the number of blocks accessed when this optimization takes effect.

  was:
As Preston Koprivica pointed out at the tail of HBASE-4394, when all filters in a MUST_PASS_ONE FilterList return a SEEK_USING_NEXT_HINT code, we should return SEEK_NEXT_USING_HINT from the FilterList to utilize the lowest seek value.

This would save unnecessary accesses to blocks which are not in scan result.


> Utilize the lowest seek value when all Filters in MUST_PASS_ONE FilterList return SEEK_NEXT_USING_HINT
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15243
>                 URL: https://issues.apache.org/jira/browse/HBASE-15243
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15243-v1.txt, HBASE-15243-v2.txt, HBASE-15243-v3.txt, HBASE-15243-v4.txt, HBASE-15243-v5.txt, HBASE-15243-v6.txt, HBASE-15243-v7.txt
>
>
> As Preston Koprivica pointed out at the tail of HBASE-4394, when all filters in a MUST_PASS_ONE FilterList return a SEEK_USING_NEXT_HINT code, we should return SEEK_NEXT_USING_HINT from the FilterList to utilize the lowest seek value.
> This would save unnecessary accesses to blocks which are not in scan result.
> A unit test has been added which shows the reduction in the number of blocks accessed when this optimization takes effect.



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