{"action":"created","issue":{"url":"https://api.github.com/repos/mesos/mesos-go/issues/177","labels_url":"https://api.github.com/repos/mesos/mesos-go/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/mesos/mesos-go/issues/177/comments","events_url":"https://api.github.com/repos/mesos/mesos-go/issues/177/events","html_url":"https://github.com/mesos/mesos-go/issues/177","id":106443175,"number":177,"title":"ZK client times out against zk 3.3 and 3.4 ","user":{"login":"spacejam","id":1505488,"avatar_url":"https://avatars.githubusercontent.com/u/1505488?v=3","gravatar_id":"","url":"https://api.github.com/users/spacejam","html_url":"https://github.com/spacejam","followers_url":"https://api.github.com/users/spacejam/followers","following_url":"https://api.github.com/users/spacejam/following{/other_user}","gists_url":"https://api.github.com/users/spacejam/gists{/gist_id}","starred_url":"https://api.github.com/users/spacejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacejam/subscriptions","organizations_url":"https://api.github.com/users/spacejam/orgs","repos_url":"https://api.github.com/users/spacejam/repos","events_url":"https://api.github.com/users/spacejam/events{/privacy}","received_events_url":"https://api.github.com/users/spacejam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesos/mesos-go/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mesos/mesos-go/labels/priority","name":"priority","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T22:46:41Z","updated_at":"2015-09-15T00:40:51Z","closed_at":null,"body":"My friend @dallasmarlow told me that he has been seeing client timeouts against zk 3.3 and 3.4 using this zk client, as the session timeout is not being properly respected.  This is causing his ephemeral znodes to constantly be invalidated.  We need to:\r\n1. reproduce the timeouts\r\n2. fix the zk dep or set up a background pinger that does something simple like perform a get on the root znode every few seconds (maybe every 10s with a small amount of splaying) to prevent the session from timing out due to failing to respect the heartbeat interval."},"comment":{"url":"https://api.github.com/repos/mesos/mesos-go/issues/comments/140242141","html_url":"https://github.com/mesos/mesos-go/issues/177#issuecomment-140242141","issue_url":"https://api.github.com/repos/mesos/mesos-go/issues/177","id":140242141,"user":{"login":"dallasmarlow","id":344678,"avatar_url":"https://avatars.githubusercontent.com/u/344678?v=3","gravatar_id":"","url":"https://api.github.com/users/dallasmarlow","html_url":"https://github.com/dallasmarlow","followers_url":"https://api.github.com/users/dallasmarlow/followers","following_url":"https://api.github.com/users/dallasmarlow/following{/other_user}","gists_url":"https://api.github.com/users/dallasmarlow/gists{/gist_id}","starred_url":"https://api.github.com/users/dallasmarlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dallasmarlow/subscriptions","organizations_url":"https://api.github.com/users/dallasmarlow/orgs","repos_url":"https://api.github.com/users/dallasmarlow/repos","events_url":"https://api.github.com/users/dallasmarlow/events{/privacy}","received_events_url":"https://api.github.com/users/dallasmarlow/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T00:40:51Z","updated_at":"2015-09-15T00:40:51Z","body":"@spacejam https://github.com/samuel/go-zookeeper/issues/82\r\n\r\nit looks like this doesn't cause an issue for the mesos-go client in most cases due to it's rewatch interval being so low (statically configured to 200ms), which in turn is acting like a heartbeat and keeping the session alive."}}