{"action":"created","issue":{"url":"https://api.github.com/repos/basho/riak_core/issues/764","labels_url":"https://api.github.com/repos/basho/riak_core/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_core/issues/764/comments","events_url":"https://api.github.com/repos/basho/riak_core/issues/764/events","html_url":"https://github.com/basho/riak_core/pull/764","id":100307498,"number":764,"title":"Do not allow node to join cluster when still launching","user":{"login":"macintux","id":2141278,"avatar_url":"https://avatars.githubusercontent.com/u/2141278?v=3","gravatar_id":"","url":"https://api.github.com/users/macintux","html_url":"https://github.com/macintux","followers_url":"https://api.github.com/users/macintux/followers","following_url":"https://api.github.com/users/macintux/following{/other_user}","gists_url":"https://api.github.com/users/macintux/gists{/gist_id}","starred_url":"https://api.github.com/users/macintux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macintux/subscriptions","organizations_url":"https://api.github.com/users/macintux/orgs","repos_url":"https://api.github.com/users/macintux/repos","events_url":"https://api.github.com/users/macintux/events{/privacy}","received_events_url":"https://api.github.com/users/macintux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cmeiklejohn","id":44939,"avatar_url":"https://avatars.githubusercontent.com/u/44939?v=3","gravatar_id":"","url":"https://api.github.com/users/cmeiklejohn","html_url":"https://github.com/cmeiklejohn","followers_url":"https://api.github.com/users/cmeiklejohn/followers","following_url":"https://api.github.com/users/cmeiklejohn/following{/other_user}","gists_url":"https://api.github.com/users/cmeiklejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeiklejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeiklejohn/subscriptions","organizations_url":"https://api.github.com/users/cmeiklejohn/orgs","repos_url":"https://api.github.com/users/cmeiklejohn/repos","events_url":"https://api.github.com/users/cmeiklejohn/events{/privacy}","received_events_url":"https://api.github.com/users/cmeiklejohn/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-11T13:10:31Z","updated_at":"2015-08-11T16:35:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/basho/riak_core/pulls/764","html_url":"https://github.com/basho/riak_core/pull/764","diff_url":"https://github.com/basho/riak_core/pull/764.diff","patch_url":"https://github.com/basho/riak_core/pull/764.patch"},"body":"@mrallen1 and @jonmeredith identified a race condition when nodes are being joined quickly during automated testing; nodes which are still busy starting applications can lead to divergent rings and a node can transition from being a member of a ring back to joining status with resulting deadlock.\r\n\r\nThe race condition only manifests itself during staged joins; this change checks the joining node's `init` status and blocks the join if the node is starting (or stopping).\r\n\r\nCorresponding `riak_test` PR to follow."},"comment":{"url":"https://api.github.com/repos/basho/riak_core/issues/comments/129959613","html_url":"https://github.com/basho/riak_core/pull/764#issuecomment-129959613","issue_url":"https://api.github.com/repos/basho/riak_core/issues/764","id":129959613,"user":{"login":"macintux","id":2141278,"avatar_url":"https://avatars.githubusercontent.com/u/2141278?v=3","gravatar_id":"","url":"https://api.github.com/users/macintux","html_url":"https://github.com/macintux","followers_url":"https://api.github.com/users/macintux/followers","following_url":"https://api.github.com/users/macintux/following{/other_user}","gists_url":"https://api.github.com/users/macintux/gists{/gist_id}","starred_url":"https://api.github.com/users/macintux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macintux/subscriptions","organizations_url":"https://api.github.com/users/macintux/orgs","repos_url":"https://api.github.com/users/macintux/repos","events_url":"https://api.github.com/users/macintux/events{/privacy}","received_events_url":"https://api.github.com/users/macintux/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T16:35:57Z","updated_at":"2015-08-11T16:35:57Z","body":"The failure is the lock problem that's been biting `riak_core` builds. Borshop retry doesn't work until someone plusses it IIRC."}}