BukrosSzabolcs commented on code in PR #5785:
URL: https://github.com/apache/hbase/pull/5785#discussion_r1566942453


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java:
##########
@@ -193,12 +194,16 @@ private void reloadZkWatcher() throws IOException {
       if (zkw != null) {
         zkw.close();
       }
-      zkw =
-        new ZKWatcher(ctx.getConfiguration(), "connection to cluster: " + 
ctx.getPeerId(), this);
+      zkw = new ZKWatcher(ctx.getConfiguration(), "connection to cluster: " + 
ctx.getPeerId(), this,
+        getZKClientConfig());
       zkw.registerListener(new PeerRegionServerListener(this));
     }
   }
 
+  protected ZKClientConfig getZKClientConfig() {

Review Comment:
   Thanks for pointing it out, let me add an explanation.



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