[
https://issues.apache.org/jira/browse/HBASE-18010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015652#comment-16015652
]
Anoop Sam John commented on HBASE-18010:
----------------------------------------
bq. memstoreSize.incMemstoreSize(cellSize, heapSize);
U can see we track 2 sizes here. The 1st one is the data size alone. ie. Sum of
all bytes length in key, value, (tags).
The second is the actual heap overhead. See
{code}
protected long heapSizeChange(Cell cell, boolean succ) {
if (succ) {
return ClassSize
.align(ClassSize.CONCURRENT_SKIPLISTMAP_ENTRY +
CellUtil.estimatedHeapSizeOf(cell));
}
return 0;
}
{code}
estimatedHeapSizeOf - Makes use of the heapSize method any way.
> Connect CellChunkMap to be used for flattening in CompactingMemStore
> --------------------------------------------------------------------
>
> Key: HBASE-18010
> URL: https://issues.apache.org/jira/browse/HBASE-18010
> Project: HBase
> Issue Type: Sub-task
> Reporter: Anastasia Braginsky
>
> The CellChunkMap helps to create a new type of ImmutableSegment, where the
> index (CellSet's delegatee) is going to be CellChunkMap. No big cells or
> upserted cells are going to be supported here.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)