jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

Infinite loop when the etcd server has a DNS resolve problem #127

Closed bladehd closed 7 years ago

bladehd commented 8 years ago

When I invoke EtcdResponsePromise.get() method, if the etcd server has a dns resolve problem, it will has a infinite loop. I think etcd4j need add a timeout for get method. etcd4j version 2.12.0.

lburgazzoli commented 7 years ago

etcd4j has a retry handler, doesn't it work for you ?

sheinbergon commented 7 years ago

etcd4j version 2.12.0 . Try this again with 2.11.0

lburgazzoli commented 7 years ago

Closed as no feedback from the reporter