RE: ZooKeeper ping requests Unnecessarily go though request processor chain

2016-10-04 Thread Mohammad arshad
and causing the client time out. For detail please refer ZOOKEEPER-2570 Thanks -Arshad -Original Message- From: Benjamin Reed [mailto:br...@apache.org] Sent: 04 October 2016 10:23 To: DevZooKeeper Subject: Re: ZooKeeper ping requests Unnecessarily go though request processor chain yes, vitali

Re: ZooKeeper ping requests Unnecessarily go though request processor chain

2016-10-03 Thread Benjamin Reed
yes, vitalii is correct. the ping is a mutual test of health, so we want it to go through the full pipeline. On Mon, Oct 3, 2016 at 5:26 AM, Vitalii Tymchyshyn wrote: > Hi. > > I think this would break ordering guarantie, would not it? > Also ping is supposed to test health and I

Re: ZooKeeper ping requests Unnecessarily go though request processor chain

2016-10-03 Thread Vitalii Tymchyshyn
Hi. I think this would break ordering guarantie, would not it? Also ping is supposed to test health and I am not sure why do you want to skip testing part of the flow? Does it incur high load? What would happen if disk would stall for a minute? Best regards, Vitalii Tymchyshyn Пн, 3 жовт. 2016

ZooKeeper ping requests Unnecessarily go though request processor chain

2016-10-03 Thread Mohammad arshad
Hi All ZooKeeper clients send ping request(heartbeat) to ZooKeeper server to keep its session alive. These ping requests do nothing but touch its session on the server. If client is connected to a follower then the ping request is processed in sequence of ServerCnxn --> ZooKeeperServer -->