gesterzhou commented on a change in pull request #6827:
URL: https://github.com/apache/geode/pull/6827#discussion_r717054115
##########
File path:
geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterDistributionManager.java
##########
@@ -2335,6 +2330,16 @@ public void membershipFailure(String reason, Throwable
t) {
}
}
+ @Override
+ public Throwable setShutdownCause(Throwable cause) {
+ if (cause != null && !(cause instanceof ForcedDisconnectException)) {
Review comment:
Here only refactored the existing code into a method, without changing
any logic.
See the replaced code, it changed cause to be ForcedDisconnectException.
--
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]