Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-19 Thread Enrico Olivelli
I have logged a JIRA https://issues.apache.org/jira/browse/ZOOKEEPER-3066 Feel free to add comments to the issue Enrico Il giorno mar 19 giu 2018 alle ore 15:04 Enrico Olivelli < eolive...@gmail.com> ha scritto: > I am going to work on this issue and to provide a patch. For me it is > really

Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-19 Thread Enrico Olivelli
I am going to work on this issue and to provide a patch. For me it is really important. But I will start working on it as soon as I have time. There is already a discussion on the dev@ list about this topic, if anyone has cycles we can continue the discussion there. - Enrico Il giorno lun 18

Re: Dose client read dirty data in zk release-3.5.4 ?

2018-06-19 Thread yuzhou li
Before learner receives the leader UPTODATE request, the loop run like this: case Leader.PROPOSAL: PacketInFlight pif = new PacketInFlight(); pif.hdr = new TxnHeader(); pif.rec = SerializeUtils.deserializeTxn(qp.getData(), pif.hdr);//deserialize data