{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8653","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8653/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8653/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8653/events","html_url":"https://github.com/hazelcast/hazelcast/issues/8653","id":168877509,"number":8653,"title":"Nodes don´t reconnect nor merge after shutdown of a single node in TcpIp-Mode","user":{"login":"wiesi","id":635960,"avatar_url":"https://avatars.githubusercontent.com/u/635960?v=3","gravatar_id":"","url":"https://api.github.com/users/wiesi","html_url":"https://github.com/wiesi","followers_url":"https://api.github.com/users/wiesi/followers","following_url":"https://api.github.com/users/wiesi/following{/other_user}","gists_url":"https://api.github.com/users/wiesi/gists{/gist_id}","starred_url":"https://api.github.com/users/wiesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiesi/subscriptions","organizations_url":"https://api.github.com/users/wiesi/orgs","repos_url":"https://api.github.com/users/wiesi/repos","events_url":"https://api.github.com/users/wiesi/events{/privacy}","received_events_url":"https://api.github.com/users/wiesi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"109def"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/79","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.7.1","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/79/labels","id":1911159,"number":79,"title":"3.7.1","description":"","creator":{"login":"ahmetmircik","id":2960360,"avatar_url":"https://avatars.githubusercontent.com/u/2960360?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetmircik","html_url":"https://github.com/ahmetmircik","followers_url":"https://api.github.com/users/ahmetmircik/followers","following_url":"https://api.github.com/users/ahmetmircik/following{/other_user}","gists_url":"https://api.github.com/users/ahmetmircik/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetmircik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetmircik/subscriptions","organizations_url":"https://api.github.com/users/ahmetmircik/orgs","repos_url":"https://api.github.com/users/ahmetmircik/repos","events_url":"https://api.github.com/users/ahmetmircik/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetmircik/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2016-07-29T07:37:28Z","updated_at":"2016-08-02T12:54:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-02T12:52:34Z","updated_at":"2016-08-02T12:55:54Z","closed_at":null,"body":"Hi guys,\r\n\r\nI am running a cluster with three nodes, all configured to use TcpIp-Mode. The first node runs always and has a fixed IP, the others do join from \"unknown\" hosts. Those \"unknown\" nodes are alle configured to join the cluster via the static node! After each node is started, they all know each other and everything looks fine.\r\n\r\nBut: If I restart the static node (to simulate network issues), the others don´t reconnect nor merge back. The log-output is: \r\n\r\n_Aug 02, 2016 2:42:02 PM com.hazelcast.cluster.impl.TcpIpJoiner\r\nINFORMATION: [UNKNOWNNODE]:5701 [dev] [3.6.3] Address[<STATICNODE>]:9500 should merge to this node, because : currentDataMemberCount > joinMessage.getDataMemberCount() [2 > 1]_\r\n\r\nFollowing you see a class where you can simulate this:\r\n- Build it with maven and attached pom.xml\r\n- Start three nodes:\r\n1. _java -jar NetworkFailureReconnectProblem-0.0.1-SNAPSHOT-release.jar **1**_\r\n2. _java -jar NetworkFailureReconnectProblem-0.0.1-SNAPSHOT-release.jar **2**_\r\n3. _java -jar NetworkFailureReconnectProblem-0.0.1-SNAPSHOT-release.jar **3**_\r\n- As soon as everyone has joined, kill the first node, CTRL+C was enough for me\r\n- Restart node one with _java -jar NetworkFailureReconnectProblem-0.0.1-SNAPSHOT-release.jar **1**_\r\n- Watch log output in CLI\r\n\r\n[FailureTest.zip](https://github.com/hazelcast/hazelcast/files/397008/FailureTest.zip)\r\n\r\nhttps://groups.google.com/d/msg/hazelcast/2Ev16TF8guQ/w-nApQoqBAAJ\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/236895354","html_url":"https://github.com/hazelcast/hazelcast/issues/8653#issuecomment-236895354","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8653","id":236895354,"user":{"login":"jerrinot","id":158619,"avatar_url":"https://avatars.githubusercontent.com/u/158619?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrinot","html_url":"https://github.com/jerrinot","followers_url":"https://api.github.com/users/jerrinot/followers","following_url":"https://api.github.com/users/jerrinot/following{/other_user}","gists_url":"https://api.github.com/users/jerrinot/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrinot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrinot/subscriptions","organizations_url":"https://api.github.com/users/jerrinot/orgs","repos_url":"https://api.github.com/users/jerrinot/repos","events_url":"https://api.github.com/users/jerrinot/events{/privacy}","received_events_url":"https://api.github.com/users/jerrinot/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T12:55:54Z","updated_at":"2016-08-02T12:55:54Z","body":"Thank you for the report. \r\n\r\nIt looks like deficiency in the merge process. A bigger cluster rightfully refuses to merge with the smaller cluster. However I suppose it should trigger the opposite process: the smaller cluster joining the bigger one. "}}
{"actor":{"display_login":"jerrinot"}}