[jira] Updated: (ZOOKEEPER-23) Auto reset of watches on reconnect

2008-10-21 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-23:
--

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

Committed revision 706834.

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-21 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: ZOOKEEPER-23.patch

Added LICENSE to zkServer.sh
Removed some unit tests that are not implemented correctly
Fixed the way we propogate the error in free_completions

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-21 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: (was: ZOOKEEPER-23.patch)

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-21 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: ZOOKEEPER-23.patch

Okay this patch has single threaded support as well.

There are two tests in TestOperations unit test that fail quite often in both 
single threaded and multi threaded mode, but that class is very opaque and I 
can't tell if it is a bug in the unit test or if it is exposing a bug.

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-21 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: (was: ZOOKEEPER-23.patch)

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: ZOOKEEPER-23.patch

Updated to clarify the watch delivery rules.

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: (was: ZOOKEEPER-23.patch)

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Status: Patch Available  (was: Open)

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: ZOOKEEPER-23.patch

In addition to the previous changes I've updated the docs and fixed a TON of 
bugs. It turns out that the system test revealed some problems in the existing 
code. The biggest was a deadlock that can happen when a disconnect occurs.

I have not yet got the tests running with single threaded mode. I wonder how 
many people actually use the single threaded library. I'd love to remove it 
since it is hard to use, test, and maintain. Could we do the release 3.0 with 
just the multi-threaded library?

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: (was: ZOOKEEPER-23.patch)

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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-23) Auto reset of watches on reconnect

2008-10-20 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-23:
---

Attachment: ZOOKEEPER-23.patch

This is the C client for the auto reset of watches. The patch contains the 
following:

1) A system test that has tests for watches
2) Fixes to the watches so that we accurately trigger the watches that are 
active when we get the watch event (rather than watches that are active when 
the watch event is actually dispatched by the completion thread)
3) To handle exists watch properly, I added another exist hashtable for watches 
of non existent files
4) Code to use SetWatches to re-register watches when reconnecting

> Auto reset of watches on reconnect
> --
>
> Key: ZOOKEEPER-23
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-23
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: c client, java client
>Reporter: Patrick Hunt
>Assignee: Benjamin Reed
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-23.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1831413&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.