Re: How to investigate these error codes

2016-08-16 Thread Patrick Hunt
oblem? > > Thank you, > Jan > > -Original Message- > From: Flavio Junqueira [mailto:f...@apache.org] > Sent: Friday, August 12, 2016 6:05 PM > To: user@zookeeper.apache.org > Subject: Re: How to investigate these error codes > > Hi Jan, > > Conn

RE: How to investigate these error codes

2016-08-15 Thread Krizansky, Jan
mailto:f...@apache.org] Sent: Friday, August 12, 2016 6:05 PM To: user@zookeeper.apache.org Subject: Re: How to investigate these error codes Hi Jan, Connection loss means that the client has disconnected from the server it was connected to and it will try to connect to another server to avoid

Re: How to investigate these error codes

2016-08-12 Thread Michael Han
On top of what Flavio pointed out: The liveness of a session is maintained by regular heartbeats between client and server, and heartbeats could fail due to a couple of reasons: - Network: increased latency, or network error. - Server overloaded such as IO contention / swapping; server GC took

Re: How to investigate these error codes

2016-08-12 Thread Flavio Junqueira
Hi Jan, Connection loss means that the client has disconnected from the server it was connected to and it will try to connect to another server to avoid session expiration. Session expired means that your session has expired. :-) Session expiration is important because if you have ephemerals

How to investigate these error codes

2016-08-12 Thread Krizansky, Jan