{"action":"opened","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8246","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8246/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8246/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8246/events","html_url":"https://github.com/hazelcast/hazelcast/issues/8246","id":156731226,"number":8246,"title":"hazelcast instance force-restart","user":{"login":"aviram26","id":1644006,"avatar_url":"https://avatars.githubusercontent.com/u/1644006?v=3","gravatar_id":"","url":"https://api.github.com/users/aviram26","html_url":"https://github.com/aviram26","followers_url":"https://api.github.com/users/aviram26/followers","following_url":"https://api.github.com/users/aviram26/following{/other_user}","gists_url":"https://api.github.com/users/aviram26/gists{/gist_id}","starred_url":"https://api.github.com/users/aviram26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviram26/subscriptions","organizations_url":"https://api.github.com/users/aviram26/orgs","repos_url":"https://api.github.com/users/aviram26/repos","events_url":"https://api.github.com/users/aviram26/events{/privacy}","received_events_url":"https://api.github.com/users/aviram26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-25T11:53:57Z","updated_at":"2016-05-25T11:53:57Z","closed_at":null,"body":"Following noctarius request for - http://stackoverflow.com/questions/37431300/hazelcast-instance-force-restart\r\n\r\n**Description of environment and program:**\r\nI have a 4-node cluster of hazelcast community 3.6.2 running on docker.\r\nMy program only monitors the state of the cluster and tries to recover if a connectivity issue is detected.\r\nTo identify a problem I use the following:\r\n\r\n```\r\nLifecycleService.isRunning()\r\nCluster.getMembers().size() > 1\r\nCluster.getClusterState() == ClusterState.ACTIVE\r\n```\r\n**The problem:**\r\nTo simulate a full cluster split I'm using docker network disconnect/connect.\r\nAfter reconnecting, some of the nodes are in `FROZEN` state. The program identifies this and tries to shutdown the node using `HazelcastInstance.shutdown()`.\r\nFrom this point on the only thing I get from the node/s is:\r\n\r\n> com.hazelcast.cluster.impl.operations.JoinCheckOperation\r\n> INFO: [172.17.0.3]:5701 [dev] [3.6.2] Ignoring join check from Address[172.17.0.2]:5701, because cluster is in FROZEN state ...\r\n\r\nHow can I overcome this? My purpose is to to recover all nodes and rebuild the cluster."}}
{"actor":{"display_login":"aviram26"}}