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

Matteo Bertozzi commented on HBASE-16586:
-----------------------------------------

v1 fixes a problem where an xlock proc behind a shared-lock proc was suspending 
the queue and never resuming it

> Procedure v2 - Cleanup sched wait/lock semantic
> -----------------------------------------------
>
>                 Key: HBASE-16586
>                 URL: https://issues.apache.org/jira/browse/HBASE-16586
>             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-16586-v0.patch, HBASE-16586-v1.patch
>
>
> For some reason waitEvent() and waitRegion() had a mismatching return value. 
> unity the wait semantic in being: return true we wait, false we don't wait.
> procdures using hasLock = waitRegion() should change to hasLock = 
> !waitRegion(). at the moment we have only DispatchMergingRegionsProcedure 
> using it (in master).



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

Reply via email to