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

Reply via email to