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

Anastasia Braginsky commented on HBASE-18010:
---------------------------------------------

Thanks [~ramkrishna], I understand that you would like to clean mapping of the 
chunks no longer in use. But what do you say about the following scenario:

1. Chunk C was allocated and got ID 5
2. C was reclaimed and removed from mapping, but was returned to pool still 
holding ID 5
3. C was reused from pool and returned to the user once again
4. Cell residing on C is asked what is its chunk id and 5 is the answer
5. ChunkCreator is asked to translate chunk ID 5, but returns null...

Am I wrong?

> 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)

Reply via email to