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

Mikhail Antonov commented on HBASE-11290:
-----------------------------------------

Pinging [~toffer] and [~virag] -sounds like there's some consensus here that 
LockCache impl backed by Guava cache builder is just reasonable thing to go 
with? So presumably latest version of patch posted could be rebased to current 
master (not sure about 1.2.0) with some adjustments/review if needed?

Let me know if I could help.

> Unlock RegionStates
> -------------------
>
>                 Key: HBASE-11290
>                 URL: https://issues.apache.org/jira/browse/HBASE-11290
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Francis Liu
>            Assignee: Virag Kothari
>             Fix For: 2.0.0, 0.98.14, 1.2.0
>
>         Attachments: HBASE-11290-0.98.patch, HBASE-11290-0.98_v2.patch, 
> HBASE-11290.draft.patch
>
>
> Even though RegionStates is a highly accessed data structure in HMaster. Most 
> of it's methods are synchronized. Which limits concurrency. Even simply 
> making some of the getters non-synchronized by using concurrent data 
> structures has helped with region assignments. We can go as simple as this 
> approach or create locks per region or a bucket lock per region bucket.



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

Reply via email to