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



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java
##########
@@ -191,6 +196,17 @@ private synchronized void reloadZkWatcher() throws 
IOException {
     zkw.registerListener(new PeerRegionServerListener(this));
   }
 
+  private synchronized void connectPeerCluster() throws IOException {

Review comment:
       To avoid SpotBugs Inconsistent synchronization about accessing `conn`




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to