[jira] Commented: (ZOOKEEPER-178) FLE test.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638134#action_12638134 ] Mahadev konar commented on ZOOKEEPER-178: - great work flavio... i ran the test 30 times ... it passed looks like you the patch fixes the problem... > FLE test. > - > > Key: ZOOKEEPER-178 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-178 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Mahadev konar > Fix For: 3.0.0 > > Attachments: FLE-Fail.txt, > TEST-org.apache.zookeeper.test.FLETest.txt, ZOOKEEPER-178.patch > > > fast leader election test failing . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (ZOOKEEPER-178) FLE test.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638131#action_12638131 ] fpj edited comment on ZOOKEEPER-178 at 10/8/08 4:08 PM: --- I'm uploading a patch to make it pass. It is a small, but safe modification to make the unit test pass. I've run 20 times on my machine, and it passed on all 20. was (Author: fpj): I'm uploading a test to make it pass. It is a small, but safe modification to make the unit test pass. I've run 20 times on my machine, and it passed on all 20. > FLE test. > - > > Key: ZOOKEEPER-178 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-178 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Mahadev konar > Fix For: 3.0.0 > > Attachments: FLE-Fail.txt, > TEST-org.apache.zookeeper.test.FLETest.txt, ZOOKEEPER-178.patch > > > fast leader election test failing . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-178) FLE test.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-178: - Attachment: ZOOKEEPER-178.patch I'm uploading a test to make it pass. It is a small, but safe modification to make the unit test pass. I've run 20 times on my machine, and it passed on all 20. > FLE test. > - > > Key: ZOOKEEPER-178 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-178 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Mahadev konar > Fix For: 3.0.0 > > Attachments: FLE-Fail.txt, > TEST-org.apache.zookeeper.test.FLETest.txt, ZOOKEEPER-178.patch > > > fast leader election test failing . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-178) FLE test.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-178: - Status: Patch Available (was: Open) > FLE test. > - > > Key: ZOOKEEPER-178 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-178 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Mahadev konar > Fix For: 3.0.0 > > Attachments: FLE-Fail.txt, > TEST-org.apache.zookeeper.test.FLETest.txt, ZOOKEEPER-178.patch > > > fast leader election test failing . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-17) zookeeper_init doc needs clarification
[ https://issues.apache.org/jira/browse/ZOOKEEPER-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638122#action_12638122 ] Benjamin Reed commented on ZOOKEEPER-17: The documentation is incorrect. An invalid or expired session id will result in a zookeeper_handle that is in the unrecoverable SESSION_EXPIRED_STATE. That comment documented old behavior. It turns out that processing correctly the situation where the session is expired and a new session is assigned can be tricky. We also wanted the behavior to be consistent with any other case in which an unrecoverable session event is delivered: the zhandle_t becomes invalid. We need to fix the doc to say that if the session id is expired or invalid the return zhandle_t will also be invalid. > zookeeper_init doc needs clarification > -- > > Key: ZOOKEEPER-17 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-17 > Project: Zookeeper > Issue Type: Bug > Components: c client, documentation >Reporter: Patrick Hunt >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-17.patch > > > Moved from SourceForge to Apache. > http://sourceforge.net/tracker/index.php?func=detail&aid=1967467&group_id=209147&atid=1008544 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-178) FLE test.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-178: Attachment: TEST-org.apache.zookeeper.test.FLETest.txt i tried tge tests after ZOOKEEPER-159 was checked in. I ran it 3 times and it failed on the third. Their seems to be a bug and we should fix it without leader election we wont be able to run :) > FLE test. > - > > Key: ZOOKEEPER-178 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-178 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Mahadev konar > Fix For: 3.0.0 > > Attachments: FLE-Fail.txt, TEST-org.apache.zookeeper.test.FLETest.txt > > > fast leader election test failing . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-33) Better ACL management
[ https://issues.apache.org/jira/browse/ZOOKEEPER-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-33: --- Attachment: ZOOKEEPER-33.patch attaching a new patch. The last patch went stale with checking in of ZOOKEEPER-8. > Better ACL management > - > > Key: ZOOKEEPER-33 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-33 > Project: Zookeeper > Issue Type: New Feature > Components: server >Reporter: Patrick Hunt >Assignee: Mahadev konar > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-33.patch, ZOOKEEPER-33.patch, > ZOOKEEPER-33.patch > > > Moved from SourceForge to Apache. > http://sourceforge.net/tracker/index.php?func=detail&aid=1945175&group_id=209147&atid=1008547 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-180) Placeholder sections needed in document for new topics that the umbrella jira discusses
[ https://issues.apache.org/jira/browse/ZOOKEEPER-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-180: --- Resolution: Fixed Assignee: Patrick Hunt Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed revision 702964. > Placeholder sections needed in document for new topics that the umbrella jira > discusses > --- > > Key: ZOOKEEPER-180 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-180 > Project: Zookeeper > Issue Type: Sub-task > Components: documentation >Reporter: Robbie Scott >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-180.patch, ZOOKEEPER-180.patch > > > The admin doc needs some sections so contributors can add the new topics: > designing, provisioning, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-180) Placeholder sections needed in document for new topics that the umbrella jira discusses
[ https://issues.apache.org/jira/browse/ZOOKEEPER-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-180: --- Attachment: ZOOKEEPER-180.patch fixed a link that was causing compilation to fail > Placeholder sections needed in document for new topics that the umbrella jira > discusses > --- > > Key: ZOOKEEPER-180 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-180 > Project: Zookeeper > Issue Type: Sub-task > Components: documentation >Reporter: Robbie Scott > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-180.patch, ZOOKEEPER-180.patch > > > The admin doc needs some sections so contributors can add the new topics: > designing, provisioning, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-179) need new sections for basic operations content
[ https://issues.apache.org/jira/browse/ZOOKEEPER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-179: --- Resolution: Fixed Assignee: Patrick Hunt Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed revision 702950. > need new sections for basic operations content > -- > > Key: ZOOKEEPER-179 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-179 > Project: Zookeeper > Issue Type: Sub-task >Affects Versions: 3.0.0 >Reporter: Robbie Scott >Assignee: Patrick Hunt > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-179.patch > > > The zookeeperProgrammers.xml, which is the Programmer's Guide, needs new > sections for each of the new topics that the JIRA talks about. For now they > can be empty. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-179) need new sections for basic operations content
[ https://issues.apache.org/jira/browse/ZOOKEEPER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-179: --- Fix Version/s: 3.0.0 Status: Patch Available (was: Open) > need new sections for basic operations content > -- > > Key: ZOOKEEPER-179 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-179 > Project: Zookeeper > Issue Type: Sub-task >Affects Versions: 3.0.0 >Reporter: Robbie Scott > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-179.patch > > > The zookeeperProgrammers.xml, which is the Programmer's Guide, needs new > sections for each of the new topics that the JIRA talks about. For now they > can be empty. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-168) Programmer's Guide "Basic Operations" section is missing content
[ https://issues.apache.org/jira/browse/ZOOKEEPER-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-168: --- Fix Version/s: (was: 3.0.0) Status: Open (was: Patch Available) > Programmer's Guide "Basic Operations" section is missing content > > > Key: ZOOKEEPER-168 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-168 > Project: Zookeeper > Issue Type: Bug > Components: documentation >Affects Versions: 3.0.0 >Reporter: Robbie Scott > > There is a chapter in the ZooKeeper Programmer's Guide called: "Building > Blocks: A Guide to ZooKeeper Operations" that currently contains no content. > The idea behind this section is document all the basic things you can do with > the ZooKeeper API -- not every little detail, or even every call in the API, > but the basics, like: how to connect to a server, how to read a node, how to > write to a node, how to set a watch, etc. I will create a subtask for every > section in this chapter. > I don't mind writing up the these sections, if I can get the information, > whether its' by phone, email, im, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-159) Cover two corner cases of leader election
[ https://issues.apache.org/jira/browse/ZOOKEEPER-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-159: --- Resolution: Fixed Status: Resolved (was: Patch Available) Committed revision 702943. > Cover two corner cases of leader election > - > > Key: ZOOKEEPER-159 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-159 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection >Reporter: Flavio Paiva Junqueira >Assignee: Flavio Paiva Junqueira > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-159.patch > > > In the default implementation of leader election, there are two undesirable > cases that need to be covered: > 1- If there is a leader elected and this leader is supported by at least > quorum of peers, then it can happen that one peer disconnects from the > leader, and initiates a new leader election. As it is a new leader election, > we increment the logical clock of this peer, and according to the current > implementation, this peer won't accept any vote from a peer with a lower LE > turn (corresponds to the value of the logical clock of the voting peer). The > attached patch corrects this problem by allowing a peer to go back to a > previous epoch in the case a majority votes for a leader, and the peer also > receives a vote from the leader. This feature allows a peer to correct a > false suspicion of the current leader; > 2- If a peer advances to a new turn before others, then it may end up voting > for a peer that either does not have the highest server id or the the highest > zxid. The attached patch fixes this problem by resetting the vote a peer when > it updates its logical clock upon receiving a notification with a higher turn > value. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-8) Stat enchaned to include num of children and size
[ https://issues.apache.org/jira/browse/ZOOKEEPER-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637867#action_12637867 ] Hudson commented on ZOOKEEPER-8: Integrated in ZooKeeper-trunk #107 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/107/]) . Stat enchaned to include num of children and size > Stat enchaned to include num of children and size > - > > Key: ZOOKEEPER-8 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-8 > Project: Zookeeper > Issue Type: Bug > Components: c client, java client >Reporter: Patrick Hunt >Assignee: Patrick Hunt >Priority: Minor > Fix For: 3.0.0 > > Attachments: ZOOKEEPER-8_1.patch, ZOOKEEPER-8_1.patch, > ZOOKEEPER-8_1.patch > > > Moved from SourceForge to Apache. > http://sourceforge.net/tracker/index.php?func=detail&aid=1886743&group_id=209147&atid=1008544 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.