hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16792) Reuse KeyValue.KeyOnlyKeyValue in BufferedDataBlockEncoder.SeekerState
Date Thu, 13 Oct 2016 09:12:21 GMT

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

ChiaPing Tsai commented on HBASE-16792:
---------------------------------------

BufferedDataBlockEncoder#copyFromNext copies the currentKey reference from the next state,
so SeekerState#invalidate may clear the current data.

> Reuse KeyValue.KeyOnlyKeyValue in BufferedDataBlockEncoder.SeekerState
> ----------------------------------------------------------------------
>
>                 Key: HBASE-16792
>                 URL: https://issues.apache.org/jira/browse/HBASE-16792
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16792_master.patch
>
>
> When every SeekerState#invalidate will new a fresh KeyValue.KeyOnlyKeyValue, we should
reuse it.



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

Mime
View raw message