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

Zheng Hu commented on HBASE-22480:
----------------------------------

Could we simplify the patch as the above I attached before ?  Because I think 
the loadBlockAndSeekToKey -> updateCurrentBlock -> updateCurrBlockRef will do 
the curBlock MemoryType checking and  prevBlocks appending. 

> Get block from BlockCache once and return this block to BlockCache twice make 
> ref count error.
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-22480
>                 URL: https://issues.apache.org/jira/browse/HBASE-22480
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Major
>         Attachments: HBASE-22480-master-v1.patch, HBASE-22480-master-v2.patch
>
>
> After debugging HBASE-22433, i find the problem it is that we get a block 
> from BucketCache once and return this block to BucketCache twice and make the 
> ref count error, sometimes the refCount can be negative.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to