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

Duo Zhang commented on HBASE-21389:
-----------------------------------

They can only be used as sub procedures so no lock. Other sub procedures are 
RefreshPeerProcedure and SyncReplicationReplayWALRemoteProcedure, they extend 
Procedure directly as they are also RemoteProcedures. For other procedures they 
are all top level procedures, which need to hold the exclusive lock.

> Revisit the procedure lock for sync replication
> -----------------------------------------------
>
>                 Key: HBASE-21389
>                 URL: https://issues.apache.org/jira/browse/HBASE-21389
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, Replication
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HBASE-21389-v1.patch, HBASE-21389-v1.patch, 
> HBASE-21389.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to