Re: misgiving about quorm/lead.java 's getEpochToPropose function

2011-12-23 Thread Benjamin Reed
i agree. that is a bug. good catch fish! btw, we need to fix the tabs in that function too! ben On Fri, Dec 23, 2011 at 4:57 AM, Flavio Junqueira wrote: > Alex and I discussed it a bit offline and it seems to be bug for us. I have > created a jira (ZOOKEEPER-1343) and I'll try to get a patch ou

Re: misgiving about quorm/lead.java 's getEpochToPropose function

2011-12-23 Thread Flavio Junqueira
Alex and I discussed it a bit offline and it seems to be bug for us. I have created a jira (ZOOKEEPER-1343) and I'll try to get a patch out soon. Thanks for pointing it out! -Flavio On Dec 23, 2011, at 3:59 AM, fish wrote: Hi : I am new to the zookeeper , I have just begin to read som

misgiving about quorm/lead.java 's getEpochToPropose function

2011-12-22 Thread fish
Hi : I am new to the zookeeper , I have just begin to read some code of zookeeper , but I don't quiet undestanding the quorm/lead.java 's getEpochToPropose method, In this function there is a statement if (lastAcceptedEpoch > epoch) { epoch = lastAcceptedEpoch+1; } My doubt is : w