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

Guanghao Zhang commented on HBASE-19636:
----------------------------------------

Add a initial patch.
1. Refactor peerClusterZnode to queueId.
2. Refactor some methods in ReplicationSourceManager.
3. Add a new refreshSource method for ReplicationSourceManager. It will close 
the previous replication source and open new one to trigger the new peer state 
changes or peer config changes.

> All rs should already start work with the new peer change when replication 
> peer procedure is finished
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19636
>                 URL: https://issues.apache.org/jira/browse/HBASE-19636
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, Replication
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>         Attachments: HBASE-19636.HBASE-19397.001.patch
>
>
> When replication peer operations use zk, the master will modify zk directly. 
> Then the rs will asynchronous track the zk event to start work with the new 
> peer change. When replication peer operations use procedure, need to make 
> sure this process is synchronous. All rs should already start work with the 
> new peer change when procedure is finished.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to