Re: what happen in case of zxid overflow?

2011-10-14 Thread Alex
Mahadev, Question about leader election is that who is elected when composing *the first* quorum; I found that server myId is used in updateProposal() methd of FastLeaderElection.lookForLeader(). So, I guess that at the first time a zkserver who has middle myId becomes a leader. (I had already

Do we need the upgrade code anymore?

2011-10-14 Thread Thomas Koch
Hi, please be so kind and give a comment on ZOOKEEPER-1193, Remove upgrade code. Description: ZOOKEEPER-5 introduced the upgrade feature in october 2008. It may be time to think whether there are still installations in the wild that needs this upgrade feature. Otherwise the respective code can

[jira] [Commented] (ZOOKEEPER-1193) Remove upgrade code

2011-10-14 Thread Thomas Koch (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127391#comment-13127391 ] Thomas Koch commented on ZOOKEEPER-1193: DataTree.createNode has

[jira] [Updated] (ZOOKEEPER-1226) extract version check in separate method in PrepRequestProcessor

2011-10-14 Thread Thomas Koch (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Koch updated ZOOKEEPER-1226: --- Issue Type: Sub-task (was: Improvement) Parent: ZOOKEEPER-1198 extract

[jira] [Created] (ZOOKEEPER-1226) extract version check in separate method in PrepRequestProcessor

2011-10-14 Thread Thomas Koch (Created) (JIRA)
extract version check in separate method in PrepRequestProcessor Key: ZOOKEEPER-1226 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1226 Project: ZooKeeper Issue Type:

[jira] [Created] (ZOOKEEPER-1227) Zookeeper logs is showing -1 as min/max session timeout if there is no value configured in zoo.cfg

2011-10-14 Thread Rakesh R (Created) (JIRA)
Zookeeper logs is showing -1 as min/max session timeout if there is no value configured in zoo.cfg -- Key: ZOOKEEPER-1227 URL:

[jira] [Updated] (ZOOKEEPER-1227) Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout value configured

2011-10-14 Thread Rakesh R (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated ZOOKEEPER-1227: Summary: Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout

[jira] [Commented] (ZOOKEEPER-1227) Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout value configured

2011-10-14 Thread Rakesh R (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127584#comment-13127584 ] Rakesh R commented on ZOOKEEPER-1227: - I will soon upload the patch by moving the

[jira] [Created] (ZOOKEEPER-1228) Cleanup SessionTracker

2011-10-14 Thread Thomas Koch (Created) (JIRA)
Cleanup SessionTracker -- Key: ZOOKEEPER-1228 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1228 Project: ZooKeeper Issue Type: Sub-task Reporter: Thomas Koch - fix ordering of class members - Remove

Re: Do we need the upgrade code anymore?

2011-10-14 Thread Patrick Hunt
done. Thanks Thomas! On Fri, Oct 14, 2011 at 2:31 AM, Thomas Koch tho...@koch.ro wrote: Hi, please be so kind and give a comment on ZOOKEEPER-1193, Remove upgrade code. Description: ZOOKEEPER-5 introduced the upgrade feature in october 2008. It may be time to think whether there are still

[jira] [Commented] (ZOOKEEPER-1193) Remove upgrade code

2011-10-14 Thread Patrick Hunt (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127648#comment-13127648 ] Patrick Hunt commented on ZOOKEEPER-1193: - I believe we can drop the Upgrade

[jira] [Updated] (ZOOKEEPER-1177) Enabling a large number of watches for a large number of clients

2011-10-14 Thread Vikas Mehta (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mehta updated ZOOKEEPER-1177: --- Attachment: ZooKeeper.patch Please review the attached patch to optimize the memory

[jira] [Commented] (ZOOKEEPER-1177) Enabling a large number of watches for a large number of clients

2011-10-14 Thread Camille Fournier (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127699#comment-13127699 ] Camille Fournier commented on ZOOKEEPER-1177: - This one probably deserves

[jira] [Updated] (ZOOKEEPER-1227) Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout value configured

2011-10-14 Thread Rakesh R (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated ZOOKEEPER-1227: Attachment: ZOOKEEPER-1227.patch Zookeeper logs is showing -1 as min/max session timeout

Success: ZOOKEEPER-1227 PreCommit Build #620

2011-10-14 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1227 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/620/ ### ## LAST 60 LINES OF THE CONSOLE ###

[jira] [Commented] (ZOOKEEPER-1227) Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout value configured

2011-10-14 Thread Hadoop QA (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127726#comment-13127726 ] Hadoop QA commented on ZOOKEEPER-1227: -- +1 overall. Here are the results of

[jira] [Created] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-10-14 Thread Sijie Guo (Created) (JIRA)
randomly startDelivery/stopDelivery will core dump in c++ hedwig client --- Key: BOOKKEEPER-79 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-79 Project: Bookkeeper

[jira] [Commented] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-10-14 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13127336#comment-13127336 ] Sijie Guo commented on BOOKKEEPER-79: - Did investigation on

[jira] [Created] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

2011-10-14 Thread Sijie Guo (Created) (JIRA)
subscription msg queue race condition in hedwig c++ client -- Key: BOOKKEEPER-80 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80 Project: Bookkeeper Issue Type: Bug

[jira] [Assigned] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-10-14 Thread Sijie Guo (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo reassigned BOOKKEEPER-79: --- Assignee: Sijie Guo randomly startDelivery/stopDelivery will core dump in c++ hedwig

[jira] [Updated] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

2011-10-14 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-80: Attachment: bookkeeper-80.patch synchronized on message queue to ensure order.

[jira] [Updated] (BOOKKEEPER-81) disk space of garbage collected entry logger files isn't reclaimed util process quit

2011-10-14 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-81: Attachment: bookkeeper-81.patch close opened file channel during garbage collection so deleted

[jira] [Created] (BOOKKEEPER-82) support journal rolling

2011-10-14 Thread Sijie Guo (Created) (JIRA)
support journal rolling --- Key: BOOKKEEPER-82 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-82 Project: Bookkeeper Issue Type: Improvement Components: bookkeeper-server Affects Versions: 3.4.0

[jira] [Updated] (BOOKKEEPER-82) support journal rolling

2011-10-14 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-82: Attachment: bookkeeper-82.patch attach a patch to support rolling journals 1) LogMark should