Duo Zhang commented on HBASE-20000:

"Any exclusive lock held by a parent proc P will not block it's child procedure 
trying to get the same lock"

When implementing HBASE-19397 I found that this is not trivial... Usually the 
parent procedure will release the lock after switching out so anyone can 
acquire the lock again... We have a holdLock method for Procedure which can 
control whether to always hold the lock even if you are not running at the 

Pretty complicated...

> Remove the quantum logic in FairQueue, always put high priority queue in front
> ------------------------------------------------------------------------------
>                 Key: HBASE-20000
>                 URL: https://issues.apache.org/jira/browse/HBASE-20000
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>         Attachments: HBASE-20000.patch

This message was sent by Atlassian JIRA

Reply via email to