mesos / mesos-go

Go language bindings for Apache Mesos
Apache License 2.0
545 stars 146 forks source link

Reduce ZK detector logging verbosity during transient network connectivity errors #122

Open jdef opened 9 years ago

jdef commented 9 years ago

https://github.com/mesos/mesos-go/blob/master/detector/zoo/client.go#L340

this prints 5x / sec

May 09 01:31:20 dcos-01 mesos-dns[1416]: I0509 01:31:20.832187    1416 client.go:340] unable to watch children for path /mesos: zk: node does not exist
ryan-neff commented 7 years ago

Hey @jdef, I'll give this guy a go. 2 things first:

  1. Your link above 404s. Based on context and some guessing I think the code now sits here
  2. Before I get started I think the solution to this problem is increasing the timeout here. Would that be the correct assumption?