cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart
Date Fri, 02 Nov 2012 15:11:12 GMT

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

Christian Schneider resolved DOSGI-123.
---------------------------------------

    Resolution: Fixed

After my refactoring of discovery I found that restarting discovery or zookeeper was not really
handled well. So I also fixed this issue in the refactoring issue.

Can you retest your scenario? Zookeeper restarts should be handled fine now.

1404989 02.11.2012 16:02:01, by cschneider
DOSGI-138 DOSGI-123 DOSGI-70 Refactoring of discovery, added reconnect and republishing after
connection loss to zookeeper
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/Activator.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/DataMonitorListener.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerFactory.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerImpl.java
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerTrackerCustomizer.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceDataMonitorListenerImpl.java
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceMonitor.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceMonitorManager.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/PublishingEndpointListener.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/PublishingEndpointListenerFactory.java
And 9 more 
                
> ZooKeeper registrations are not recreated on ZooKeeper server restart
> ---------------------------------------------------------------------
>
>                 Key: DOSGI-123
>                 URL: https://issues.apache.org/jira/browse/DOSGI-123
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.3.1
>            Reporter: David Bosschaert
>            Assignee: Christian Schneider
>             Fix For: 1.4
>
>
> Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies.
If the ZooKeeper server is restarted these registrations should be recreated.
> To reproduce:
> 1. Start the zookeeper server
> 2. Register a remote client
> 3. Run a client to verify that it works
> 4. Stop the zookeeper server
> 5. Start the remote client again
> 6. Start the zookeeper server 
> At this point the client is not notified of the remote service. Steps 5 and 6 can also
be reversed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message