EnricoMi commented on code in PR #1736:
URL:
https://github.com/apache/incubator-uniffle/pull/1736#discussion_r1609759584
##########
client/src/main/java/org/apache/uniffle/client/impl/ShuffleWriteClientImpl.java:
##########
@@ -946,6 +948,21 @@ public void close() {
heartBeatExecutorService.shutdownNow();
coordinatorClients.forEach(CoordinatorClient::close);
dataTransferPool.shutdownNow();
+ // wait for all services graceful termination
+ awaitExecutorServiceTermination(5000, heartBeatExecutorService,
dataTransferPool, unregisterExecutorService);
Review Comment:
Shall we really wait for all executors or only `unregisterExecutorService`?
--
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]