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

Yu Li commented on HBASE-14624:
-------------------------------

Agree. There will be a succeeding remove from the free buckets after block 
allocated, and previously get from last index should be a cost optimization for 
remove op in ArrayList. Now that we change to use set, the order no longer 
matters.

> BucketCache.freeBlock is too expensive
> --------------------------------------
>
>                 Key: HBASE-14624
>                 URL: https://issues.apache.org/jira/browse/HBASE-14624
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache
>    Affects Versions: 1.0.0
>            Reporter: Randy Fox
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16
>
>         Attachments: 14624-v1.txt, 14624-v2.txt
>
>
> Moving regions is unacceptably slow when using bucket cache, as it takes too 
> long to free all the blocks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to