[jira] Updated: (ZOOKEEPER-29) Flexible quorums

2009-04-22 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-22 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

Thanks for the suggestion, Mahadev. I have implemented your suggestion in this 
new patch. I have also done a couple of other things:

1- I have fixed a bug on FollowerHandler. We should be checking if 
qp.getData() == null instead of checking if qp.getData().length  0. With 
the current protocol, a follower wont't send any data, and qp.getData will be 
null;
2- I have removed ackCount from the Leader::Proposal class. It is not necessary 
given that we are keeping a set.

All java tests pass for me.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-22 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-21 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

I'm replacing LASTZXID with FOLLOWERINFO. Also, I checked the results of QA and 
it seems to be failing on a C client test, which is unrelated to this issue. In 
fact, when I follow the link to the test results, it says that no test has 
failed, but if you look at the console output there is a failure for one of the 
C tests:

{noformat}
[exec]  [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset : assertion
 [exec]  [exec] 
 [exec]  [exec] 
/home/hudson/hudson-slave/workspace/Zookeeper-Patch-vesta.apache.org/trunk/src/c/tests/TestClient.cc:273:
 Assertion: equality assertion failed [Expected: -101, Actual  : 0]
 [exec]  [exec] Failures !!!
 [exec]  [exec] Run: 32   Failure total: 1   Failures: 1   Errors: 0
{noformat}

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-21 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

I have realized that with the previous patch it wouldn't be backward compatible 
because a new follower would never send a LASTZXID, and an old leader wouldn't 
understand a FOLLOWERINFO message. This new patch gets rid of FOLLOWERINFO and 
only uses LASTZXID, and it seems to work fine. 

My preference is to stick with LASTZXID for now, if keeping it backward 
compatible is really necessary, and consider updating it for 4.0.  

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-20 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

The previous patch didn't compile properly. I have fixed the problem and I'm 
submitting again.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

I made an attempt at making the protocol backward compatible. Basically, a 
FollowerHandler is able to interpret both FOLLOWERINFO message and LASTZXID. If 
it receives a LASTZXID message, it generates a unique id number that does not 
correspond to the server id, but ti doesn't matter if we are using majority 
because for majority we only need to count votes. Of course, if a user tries to 
use hierarchical quorums with servers running older versions, it won't work.   

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-19 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-17 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

Re-submitting patch with suggested modifications.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-17 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-17 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-17 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-16 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

New patch with comments addressed.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-15 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

I have written a unit test and changed the implementation to read the quorum 
configuration from QuorumPeerConfig as all the other parameters.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.1.1

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-15 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-29:
--

Fix Version/s: (was: 3.1.1)
   3.2.0

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-15 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Open  (was: Patch Available)

I'd like to replace QuorumValidator with QuorumVerifier. It is just a small 
modification.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-15 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

Uploading a new patch with the name of the interface changed.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-15 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Status: Patch Available  (was: Open)

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.0

 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-09 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

This patch implements most of what I had in mind. I have changed the names of 
the classes I already had previously in an attempt to make more clear what they 
do. Also, I haven't tested extensively, and I need to write a unit test.

After working out the details of the hierarchical construction I wanted to 
implement. I realized that perhaps you guys are right in that I should try to 
read the quorum description from QuorumPeerConfig because I ended up 
duplicating some code. In any case, check it out and give me feedback.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-08 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

This new patch is partially functional. FastLeaderElection and Leader use 
QuorumConfigMaj.

It required a change to the server protocol because the leader currently 
doesn't have the identifiers of followers, which will be necessary when I add 
functionality to read quorum configuration from a file. 

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch, 
 ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-04-01 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-29.patch, ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=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-29) Flexible quorums

2009-03-31 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-29:


Attachment: ZOOKEEPER-29.patch

This is a preliminary patch. It is not functional, but it gives an idea of what 
I'm trying to do, so please comment if you have a chance to check it out.

 Flexible quorums
 

 Key: ZOOKEEPER-29
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-29
 Project: Zookeeper
  Issue Type: New Feature
  Components: server
Reporter: Patrick Hunt
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-29.patch


 Moved from SourceForge to Apache.
 http://sourceforge.net/tracker/index.php?func=detailaid=1938782group_id=209147atid=1008547

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.