[ https://issues.apache.org/jira/browse/ZOOKEEPER-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102820#comment-13102820 ]
Hadoop QA commented on ZOOKEEPER-961: ------------------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12494062/ZOOKEEPER-961b.patch against trunk revision 1166970. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/526//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/526//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/526//console This message is automatically generated. > Watch recovery after disconnection when connection string contains a prefix > --------------------------------------------------------------------------- > > Key: ZOOKEEPER-961 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-961 > Project: ZooKeeper > Issue Type: Bug > Components: java client > Affects Versions: 3.3.1 > Environment: Windows 32 bits > Reporter: pmpm47 > Assignee: Thomas Koch > Priority: Critical > Fix For: 3.3.4, 3.4.0 > > Attachments: ZOOKEEPER-961.patch, ZOOKEEPER-961b.patch > > > Let's say you're using connection string "127.0.0.1:2182/foo". > 1) put a childrenchanged watch on relative / (that is, on absolute path /foo) > 2) stop the zk server > 3) start the zk server > 4) at this point, the client recovers the connection, and should have put > back a watch on relative path /, but instead the client puts a watch on the > *absolute* path / > - if some other client adds or removes a node under /foo, nothing will happen > - if some other client adds or removes a node under /, then you will get an > error from the zk client library (string operation error) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira