jiacheliu3 commented on code in PR #733:
URL: https://github.com/apache/ratis/pull/733#discussion_r971475184
##########
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServer.java:
##########
@@ -249,5 +262,11 @@ public Builder setParameters(Parameters parameters) {
this.parameters = parameters;
return this;
}
+
+ // TODO(jiacheng): add UTs
+ public Builder setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler
exceptionHandler) {
Review Comment:
Adding an optional field to `RaftServer.Builder` already gives backward
compatibility. Existing usages don't need to change anything if they upgrade
Ratis, it's just they will be using the default `UncaughtExceptionHandler`
--
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]