You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/05/08 06:06:04 UTC

[jira] [Commented] (HBASE-11034) Get path validates column families twice

    [ https://issues.apache.org/jira/browse/HBASE-11034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000306#comment-16000306 ] 

Chia-Ping Tsai commented on HBASE-11034:
----------------------------------------

[~rekhajoshm] Do you want to rebase the patch? I'm happy to commit it.

> Get path validates column families twice
> ----------------------------------------
>
>                 Key: HBASE-11034
>                 URL: https://issues.apache.org/jira/browse/HBASE-11034
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 0.98.0
>            Reporter: Nick Dimiduk
>            Assignee: Rekha Joshi
>            Priority: Minor
>         Attachments: HBASE-11034.1.patch
>
>
> HRegion#get(Get) adds/validates column families. The resulting RegionScanner goes through the same validation dance a second time. That second implementation is slightly less efficient, always checking the families, even if there were no user-provided families and the prepareScanner() call already did this. The current logic in HRegion#get() is smarter actually. Let's do the work only once.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)