Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Now there are one check in ReplicationSource#initialize method
// In rare case, zookeeper setting may be messed up. That leads to the incorrect // peerClusterId value, which is the same as the source clusterId if (clusterId.equals(peerClusterId) && !replicationEndpoint.canReplicateToSameCluster()) { this.terminate("ClusterId " + clusterId + " is replicating to itself: peerClusterId " + peerClusterId + " which is not allowed by ReplicationEndpoint:" + replicationEndpoint.getClass().getName(), null, false); this.manager.removeSource(this); return; }
This check should move to AddPeerProcedure's precheck.
Attachments
Issue Links
- breaks
-
HBASE-26406 Can not add peer replicating to non-HBase
- Resolved
- links to