You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2016/03/22 05:07:25 UTC

[jira] [Commented] (HBASE-15512) Avoid cell allocation on Store.add(Cell)

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

stack commented on HBASE-15512:
-------------------------------

How is this safe? We pass the KV out of the Segment method. We sure that the previous reference is done with the KV? We won't be overwriting a KV that is in use?

> Avoid cell allocation on Store.add(Cell)
> ----------------------------------------
>
>                 Key: HBASE-15512
>                 URL: https://issues.apache.org/jira/browse/HBASE-15512
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>         Attachments: HBASE-15512-v1.patch
>
>
> AbstractMemStore.add(Cell) clones the cell. No reason for that.



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