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

Stephen Yuan Jiang commented on HBASE-16865:
--------------------------------------------

Since we always passes down lock from root, that is why I also suggestion to 
just check root - {{return proc.hasParent() && 
isLockOwner(proc.getRootProcId());}}

> Procedure v2 - Inherit lock from root proc
> ------------------------------------------
>
>                 Key: HBASE-16865
>                 URL: https://issues.apache.org/jira/browse/HBASE-16865
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2
>    Affects Versions: 2.0.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16865-v0.patch
>
>
> At the moment we support inheriting locks from the parent procedure for a 2 
> level procedures, but in case of reopen table regions we have a 3 level 
> procedures (ModifyTable -> ReOpen -> [Unassign/Assign])  and reopen does not 
> have any locks on its own.



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

Reply via email to