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

Anastasia Braginsky commented on HBASE-18232:
---------------------------------------------

*+Methodology:+*
 
# Add a method isVariableSize() to the Chunk interface, which is going to 
calculate the boolean answer based on the sizes comparison
# Add new interface to ChunkCreator so a new Chunk of a specified size is 
created and returned to the user.
# After creation, the variable size chunk is going to be managed as regular 
chunk, however upon release() request its ByteBuffer is going to be deallocated 
immediately.
# Usage: while creating CellChunkMap if found any cell allocated on heap and 
bigger than a chunk, allocate a variable size chunk and copy the cell there.


> 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