Bill commented on a change in pull request #6827:
URL: https://github.com/apache/geode/pull/6827#discussion_r720413142



##########
File path: 
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembership.java
##########
@@ -1775,6 +1775,24 @@ public void memberSuspected(ID initiator, ID suspect, 
String reason) {
       handleOrDeferSuspect(s);
     }
 
+    void uncleanShutdownReconnectingDS(String reason, Exception shutdownCause) 
{
+      logger.info("Reconnecting system failed to connect");
+      listener.setShutdownCause(shutdownCause);
+      uncleanShutdown(reason,
+          new MemberDisconnectedException("reconnecting system failed to 
connect"));
+    }
+
+    void uncleanShutdownDS(String reason, Exception shutdownCause) {
+      try {
+        listener.saveConfig();
+      } finally {
+        new LoggingThread("DisconnectThread", false, () -> {
+          lifecycleListener.forcedDisconnect();
+          listener.setShutdownCause(shutdownCause);
+          uncleanShutdown(reason, shutdownCause);

Review comment:
       I now understand that the testing impact in making this synchronous 
outweighs my desire for simplicity in this case.




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


Reply via email to