apurtell commented on a change in pull request #781: HBASE-18095: 
Zookeeper-less client connection implementation
URL: https://github.com/apache/hbase/pull/781#discussion_r342212722
 
 

 ##########
 File path: 
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
 ##########
 @@ -213,6 +213,10 @@
 
   private volatile AsyncClusterConnection asyncConnection;
 
+  // Tracks any other connections created with custom  client config. Used for 
testing clients with custom
+  // configurations. Tracked here so that they can be cleaned up on close() / 
restart.
+  private List<AsyncClusterConnection> customConnections = 
Collections.synchronizedList(new ArrayList<>());
+
 
 Review comment:
   I have the same question. Only the masters need to do things differently. 
All other clients, including embedded server side clients, should use the new 
service? So we get a nice common interposition point between all clients and 
the source of truth. Except the masters themselves, of course, which need to go 
directly to the source of truth.

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


With regards,
Apache Git Services

Reply via email to