Guanghao Zhang created HBASE-16868:

             Summary: Avoid appending table to a peer which replicates all 
                 Key: HBASE-16868
             Project: HBase
          Issue Type: New Feature
          Components: Replication
    Affects Versions: 2.0.0
            Reporter: Guanghao Zhang

First add a new peer by shell cmd.
add_peer '1', CLUSTER_KEY => "".
If we don't set namespaces and table cfs in peer config. It means replicate all 
tables to the peer cluster.

Then append a table to the peer config.
append_peer_tableCFs '1', {"table1" => []}
Then this peer will only replicate table1 to the peer cluster. It changes to 
replicate only one table from replicate all tables in the cluster. It is very 
easy to misuse in production cluster. So we should avoid appending table to a 
peer which replicates all table.

This message was sent by Atlassian JIRA

Reply via email to