Re: Leader election logging during reconfiguration

2019-07-30 Thread Michael Han
>> we should measure the total time more accurately +1 - it would be good to have a new metric to measure reconfiguration time, and leaving existing LE time metric dedicated to measure the conventional FLE time. Mixing both (as of today) will provide some confusing insights on how long the

Re: Leader election logging during reconfiguration

2019-07-29 Thread Alexander Shraer
Please see comments inline. Thanks, Alex On Mon, Jul 29, 2019 at 5:29 PM Karolos Antoniadis wrote: > Hi ZooKeeper developers, > > ZooKeeper seems to be logging a "*LEADER ELECTION TOOK*" message even > though no leader election takes place during a reconfiguration. > > This can be reproduced

Leader election logging during reconfiguration

2019-07-29 Thread Karolos Antoniadis
Hi ZooKeeper developers, ZooKeeper seems to be logging a "*LEADER ELECTION TOOK*" message even though no leader election takes place during a reconfiguration. This can be reproduced by following these steps: 1) start a ZooKeeper cluster (e.g., 3 participants) 2) start a client that connects to