[
https://issues.apache.org/jira/browse/HBASE-14398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903007#comment-14903007
]
ramkrishna.s.vasudevan commented on HBASE-14398:
------------------------------------------------
bq.Can you say more why these fake keys are saving copies? Don't we copy pieces
of the keys into the 'fake' key?
Previoulsy we were copying the pieces of the key to a new byte[] and then
forming a KV but with the ts and type faked like MIN or MAX.
Here we don't do that, we just create a new object from the actual cell's key
components and create a new Cell object but the ts and type alone are
different. Previously it was a copy and then object creation now only object
creation.
> Create the fake keys required in the scan path to avoid copy to byte[]
> ----------------------------------------------------------------------
>
> Key: HBASE-14398
> URL: https://issues.apache.org/jira/browse/HBASE-14398
> Project: HBase
> Issue Type: Sub-task
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 2.0.0
>
> Attachments: HBASE-14398.patch, HBASE-14398_1.patch
>
>
> Already we have created some fake keys for the ByteBufferedCells so that we
> can avoid the copy requried to create fake keys. This JIRA aims to fill up
> all such places so that the Offheap BBs are not copied to onheap byte[].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)