ddupg commented on a change in pull request #3806:
URL: https://github.com/apache/hbase/pull/3806#discussion_r739962374



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/replication/ReplicationPeerManager.java
##########
@@ -510,7 +510,7 @@ private void checkClusterKey(String clusterKey) throws 
DoNotRetryIOException {
     }
   }
 
-  private void checkClusterId(String clusterKey) throws DoNotRetryIOException {
+  private void checkSameClusterKey(String clusterKey) throws 
DoNotRetryIOException {

Review comment:
       The original method name `checkClusterId` is inappropriate, clusterId 
and clusterKey are not the same thing in replication, So I kept the same style 
as the above method `checkClusterKey` and renamed it `checkSameClusterKey`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to