hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-19293) Support add a disabled state replication peer directly
Date Mon, 20 Nov 2017 02:18:04 GMT

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

Guanghao Zhang edited comment on HBASE-19293 at 11/20/17 2:17 AM:
------------------------------------------------------------------

Yes, all the modify of Admin methods was introduced since 2.0. As we not release 2.0 now,
so I thought it is ok to modify them.

bq. Why we add the default modifier at beginning but then remove them in this patch?
In the previous implementation, I plan to add them to branch-1, too. So I use default method
when add them. But this was only introduced to 2.0, the "default" is not needed any more.

 


was (Author: zghaobac):
Yes, all the modify of Admin methods was introduced since 2.0. As we not release 2.0 now,
so I thought it is ok to modify them.

bq. Why we add the default modifier at beginning but then remove them in this patch?
In the previous implementation, I plan to add them to branch-1, too. So I use default method
when add them. But this was only introduced to 2.0, the "default" is not need any more.

 

> Support add a disabled state replication peer directly
> ------------------------------------------------------
>
>                 Key: HBASE-19293
>                 URL: https://issues.apache.org/jira/browse/HBASE-19293
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19293.master.001.patch, HBASE-19293.master.002.patch
>
>
> Now when add a replication peer, the default state is enabled. If you want add a disabled
replication peer, you need add a peer first, then disable it. It need two step to finish now.
> Use case for add a disabled replication peer. When user want sync data from a cluster
A to a new peer cluster.
> 1. Add a disabled replication peer. And config the table to peer config.
> 2. Take a snapshot of table and export snapshot to peer cluster.
> 3. Restore snapshot in peer cluster.
> 4. Enable the peer and wait all stuck replication log replicated to peer cluster.



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

Mime
View raw message