hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11034) Get path validates column families twice
Date Mon, 08 May 2017 06:06:04 GMT

    [ 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)

Mime
View raw message