{"action":"opened","issue":{"url":"https://api.github.com/repos/huaban/erlzk/issues/7","labels_url":"https://api.github.com/repos/huaban/erlzk/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/huaban/erlzk/issues/7/comments","events_url":"https://api.github.com/repos/huaban/erlzk/issues/7/events","html_url":"https://github.com/huaban/erlzk/issues/7","id":101313360,"number":7,"title":"heartbeat not fully implemented?","user":{"login":"kevinbombadil","id":10291898,"avatar_url":"https://avatars.githubusercontent.com/u/10291898?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbombadil","html_url":"https://github.com/kevinbombadil","followers_url":"https://api.github.com/users/kevinbombadil/followers","following_url":"https://api.github.com/users/kevinbombadil/following{/other_user}","gists_url":"https://api.github.com/users/kevinbombadil/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbombadil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbombadil/subscriptions","organizations_url":"https://api.github.com/users/kevinbombadil/orgs","repos_url":"https://api.github.com/users/kevinbombadil/repos","events_url":"https://api.github.com/users/kevinbombadil/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbombadil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T00:48:37Z","updated_at":"2015-08-17T00:48:37Z","closed_at":null,"body":"I ran into this problem when deliberately dropping all packets between client and one connected server - I expected to see it reconnect to one of the other servers but instead it just sat there. \r\nIf I bounce the connected server instead the fail-over is fine - but if I interrupt the connection it fails. \r\nLooking at the code it seems like the client is not sending heartbeats to the server. Comparing it to the java I can see ping defined in ZooDefs.java but the matching operation does not appear in erlzk_codec.erl.\r\nI'll read the java some more to understand what needs to be done to make this work - can you let me know what the position is with heartbeats from your side.  --- thanks k"}}