{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8263","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8263/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8263/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8263/events","html_url":"https://github.com/hazelcast/hazelcast/pull/8263","id":157160180,"number":8263,"title":"Fix & improve member restart handling in partition system","user":{"login":"mdogan","id":1201712,"avatar_url":"https://avatars.githubusercontent.com/u/1201712?v=3","gravatar_id":"","url":"https://api.github.com/users/mdogan","html_url":"https://github.com/mdogan","followers_url":"https://api.github.com/users/mdogan/followers","following_url":"https://api.github.com/users/mdogan/following{/other_user}","gists_url":"https://api.github.com/users/mdogan/gists{/gist_id}","starred_url":"https://api.github.com/users/mdogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdogan/subscriptions","organizations_url":"https://api.github.com/users/mdogan/orgs","repos_url":"https://api.github.com/users/mdogan/repos","events_url":"https://api.github.com/users/mdogan/events{/privacy}","received_events_url":"https://api.github.com/users/mdogan/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,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.7","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70/labels","id":1346433,"number":70,"title":"3.7","description":"","creator":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"open_issues":171,"closed_issues":599,"state":"open","created_at":"2015-10-09T12:16:13Z","updated_at":"2016-05-30T14:48:17Z","due_on":"2016-06-19T21:00:00Z","closed_at":null},"comments":3,"created_at":"2016-05-27T08:55:24Z","updated_at":"2016-05-31T07:58:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8263","html_url":"https://github.com/hazelcast/hazelcast/pull/8263","diff_url":"https://github.com/hazelcast/hazelcast/pull/8263.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/8263.patch"},"body":"When a member is restarted, partition system should detect that,\r\ninvalidate & fail pending and ongoing migrations/replications to that\r\nmember.\r\nBefore there was a member-uuid mapping bound to the partition\r\ntable which is used to detect restarting member. But there is a racy\r\nwindow that caused missing member uuid in the mapping table which fails\r\nthe migrations. Another downside is, keeping uuid mapping table up to date\r\nwas a complex mechanism.\r\nInstead, now join request of restarting member is denied until it's completely\r\nremoved from partition table. Join request will be retried by restarting member\r\nperiodically and when partition table repair is completed after member remove,\r\njoin will be allowed.\r\n\r\n_Pair-implemented with @metanet_\r\n\r\nFixes #8005\r\nFixes #8226"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/222617943","html_url":"https://github.com/hazelcast/hazelcast/pull/8263#issuecomment-222617943","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8263","id":222617943,"user":{"login":"metanet","id":999867,"avatar_url":"https://avatars.githubusercontent.com/u/999867?v=3","gravatar_id":"","url":"https://api.github.com/users/metanet","html_url":"https://github.com/metanet","followers_url":"https://api.github.com/users/metanet/followers","following_url":"https://api.github.com/users/metanet/following{/other_user}","gists_url":"https://api.github.com/users/metanet/gists{/gist_id}","starred_url":"https://api.github.com/users/metanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanet/subscriptions","organizations_url":"https://api.github.com/users/metanet/orgs","repos_url":"https://api.github.com/users/metanet/repos","events_url":"https://api.github.com/users/metanet/events{/privacy}","received_events_url":"https://api.github.com/users/metanet/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T07:58:12Z","updated_at":"2016-05-31T07:58:12Z","body":"👍 \r\n"}}
{"actor":{"display_login":"metanet"}}