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

ramkrishna.s.vasudevan commented on HBASE-18232:
------------------------------------------------

bq.Variable size chunks only support immutable chunks, meaning they are 
allocated at the background as part of flattening, merging or compaction and 
not as part of the user write request. Thus their expensive allocation is less 
painful.
So in coming user request will copy to an ondemand ByteBuffer and when the 
actual flattening happens (say to CellChunkMap) then there we create a new 
variable size Chunk and copy the content from the ondemand ByteBuffer created 
during writes to this new variable chunk(again an ondemand Bytebuffer but with 
associated with a chunkId)?
So the similar thing should be done with increment/append cells also?

> Add variable size chunks to the MSLAB
> -------------------------------------
>
>                 Key: HBASE-18232
>                 URL: https://issues.apache.org/jira/browse/HBASE-18232
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Anastasia Braginsky
>
> Add possibility to create a variable size chunks of memory, so any cell (of 
> any size) can reside on a chunk.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to