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

Duo Zhang edited comment on HBASE-20000 at 2/14/18 11:52 PM:
-------------------------------------------------------------

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

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 
time...

Pretty complicated...


was (Author: apache9):
{noformat}
"Any exclusive lock held by a parent proc P will not block it's child procedure 
trying to get the same lock"
{noformat}

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 
time...

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
(v7.6.3#76005)

Reply via email to