You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2016/05/03 23:52:19 UTC

[30/50] [abbrv] incubator-geode git commit: GEODE-1321 Caught IllegealStateException and then ignored

GEODE-1321 Caught IllegealStateException and then ignored


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/bcae9065
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/bcae9065
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/bcae9065

Branch: refs/heads/feature/GEODE-1255
Commit: bcae906597b167c9bef3b14de5f1341a822f564a
Parents: a254c42
Author: Hitesh Khamesra <hk...@pivotal.io>
Authored: Thu Apr 28 15:04:23 2016 -0700
Committer: Hitesh Khamesra <hk...@pivotal.io>
Committed: Fri Apr 29 10:20:47 2016 -0700

----------------------------------------------------------------------
 .../internal/membership/gms/fd/GMSHealthMonitor.java          | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/bcae9065/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
index 2d0f039..f27e0b8 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
@@ -519,7 +519,12 @@ public class GMSHealthMonitor implements HealthMonitor, MessageHandler {
     catch (IOException e) {
       // this is expected if it is a connection-timeout or other failure
       // to connect
-    } 
+    }
+    catch (IllegalStateException e) {
+      if (!isStopping) {
+        logger.trace("Unexpected exception", e);
+      }
+    }
     finally {
       try {
         if (clientSocket != null) {