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

stack commented on HBASE-11871:
-------------------------------

bq. Over all in read and write paths we don't anymore use 
KeyValueUtil#ensureKeyValue() and all in Cell also now. 

Wahooo!!!

Test would be a Cell whose implementation was other than that of KVs.... say 
something from prefix key or something simple that just changes location of one 
of the fields -- e.g. inlined tags with key.

> Avoid usage of KeyValueUtil#ensureKeyValue
> ------------------------------------------
>
>                 Key: HBASE-11871
>                 URL: https://issues.apache.org/jira/browse/HBASE-11871
>             Project: HBase
>          Issue Type: Umbrella
>          Components: regionserver
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>
> Now we try to use diff impls of Cells (other than KV) in server side for 
> optimizations. (HBASE-11870  is one like this) Having code  
> KeyValueUtil#ensureKeyValue can be dangerous as it recreate the Cell and do 
> buffer copy. This is an umbrella issue.  Will raise small sub tasks in 
> specific areas and tackle this.



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

Reply via email to