jiacheliu3 commented on code in PR #733:
URL: https://github.com/apache/ratis/pull/733#discussion_r974382038
##########
ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerProxy.java:
##########
@@ -221,6 +222,7 @@ String toString(RaftGroupId groupId,
CompletableFuture<RaftServerImpl> f) {
final TimeDuration leaderStepDownWaitTime =
RaftServerConfigKeys.LeaderElection.leaderStepDownWaitTime(properties);
this.pauseMonitor = new JvmPauseMonitor(id,
extraSleep -> handleJvmPause(extraSleep, rpcSlownessTimeout,
leaderStepDownWaitTime));
+ this.threadGroup = threadGroup == null ? new
ThreadGroup("raft-server-proxy") : threadGroup;
Review Comment:
Here I'm just applying a `ThreadGroup` that has no `unhandledException()`.
In the future if it's proved to be needed I can submit another PR for a better
default `ThreadGroup`.
--
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]