dlmarion commented on code in PR #2620:
URL: https://github.com/apache/accumulo/pull/2620#discussion_r853302644


##########
core/src/main/java/org/apache/accumulo/core/rpc/ThriftUtil.java:
##########
@@ -91,63 +92,67 @@ public static TTransportFactory transportFactory() {
   /**
    * Create a Thrift client using the given factory and transport
    */
-  public static <T extends TServiceClient> T 
createClient(TServiceClientFactory<T> factory,
+  public static <T extends TServiceClient> T 
createClient(ThriftClientType<T,?> type,
       TTransport transport) {
-    return factory.getClient(protocolFactory.getProtocol(transport),
-        protocolFactory.getProtocol(transport));
+
+    TProtocol protocol = protocolFactory.getProtocol(transport);
+    if (type.isMultiplexed()) {

Review Comment:
   I made everything multiplexed in 2bac8d5f30828ada41d60168272b0c6b46802dc5



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