xianjingfeng commented on code in PR #2112:
URL: https://github.com/apache/uniffle/pull/2112#discussion_r2038897328


##########
internal-client/src/main/java/org/apache/uniffle/client/factory/ShuffleServerClientFactory.java:
##########
@@ -75,9 +80,29 @@ public synchronized ShuffleServerClient 
getShuffleServerClient(
     return serverToClients.get(shuffleServerInfo);
   }
 
+  public synchronized void closeClients(Set<ShuffleServerInfo> candidates) {

Review Comment:
   > If so, the +1 operation could be happened on the `getShuffleServerClient`. 
And -1 should be happened on the removing in shuffleWriteClientImpl.
   
   I think this can't be achieved. To do this, we must invoke 
`getShuffleServerClient ` before we invoke the RPC interface every time  and -1 
after each call to the RPC interface.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to