[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Status: Open  (was: Patch Available)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.2.0, 3.1.1
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Status: Patch Available  (was: Open)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.2.0, 3.1.1
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

2009-08-03 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-481:


  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

I just committed this. thanks flavio!

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

2009-07-31 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-481:
---

Affects Version/s: 3.1.1
   3.2.0
Fix Version/s: 3.3.0
   3.2.1

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481-branch3.2.patch

Uploading a patch that applies to 3.2. Unit tests pass for me.

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481.patch

Fixed findbugs issues, will upload a 3.2 version once +1.

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481-branch3.2.patch

3.2 version of the same patch (only the test should be different).

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Status: Open  (was: Patch Available)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.2.0, 3.1.1
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481.patch

I have made a small modification to the port assignment in the test, so I'm 
resubmitting just to make sure that hudson likes it. 

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.1.1, 3.2.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Status: Patch Available  (was: Open)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Affects Versions: 3.2.0, 3.1.1
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.2.1, 3.3.0

 Attachments: ZOOKEEPER-481-branch3.2.patch, 
 ZOOKEEPER-481-branch3.2.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

2009-07-30 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481.patch

Adding comment to the test as requested. Thanks, Ben.

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-481.patch, ZOOKEEPER-481.patch, 
 ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

2009-07-27 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-481:
---

Status: Patch Available  (was: Open)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

2009-07-25 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Assignee: Flavio Paiva Junqueira
  Status: Patch Available  (was: Open)

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-481.patch, ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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



[jira] Updated: (ZOOKEEPER-481) Add lastMessageSent to QuorumCnxManager

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

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

Flavio Paiva Junqueira updated ZOOKEEPER-481:
-

Attachment: ZOOKEEPER-481.patch

 Add lastMessageSent to QuorumCnxManager
 ---

 Key: ZOOKEEPER-481
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-481
 Project: Zookeeper
  Issue Type: Bug
  Components: leaderElection
Reporter: Flavio Paiva Junqueira
 Attachments: ZOOKEEPER-481.patch


 Currently we rely on TCP for reliable delivery of FLE messages. However, as 
 we concurrently drop and create new connections, it is possible that a 
 message is sent but never received. With this patch, cnx manager keeps a list 
 of last messages sent, and resends the last one sent. Receiving multiples 
 copies is harmless. 

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