You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2016/07/11 06:47:11 UTC

[jira] [Created] (HBASE-16205) When Cells are not copied to MSLAB, deep clone it while adding to Memstore

Anoop Sam John created HBASE-16205:
--------------------------------------

             Summary: When Cells are not copied to MSLAB, deep clone it while adding to Memstore
                 Key: HBASE-16205
                 URL: https://issues.apache.org/jira/browse/HBASE-16205
             Project: HBase
          Issue Type: Sub-task
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John


This is imp after HBASE-15180 optimization. After that we the cells flowing in write path will be backed by the same byte[] where the RPC read the request into. By default we have MSLAB On and so we have a copy operation while adding Cells to memstore.  This copy might not be there if
1. MSLAB is turned OFF
2. Cell size is more than a configurable max size. This defaults to 256 KB
3. If the operation is Append/Increment. 

In such cases, we should just clone the Cell into a new byte[] and then add to memstore.  Or else we keep referring to the bigger byte[] chunk for longer time.



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