Alex L created JCS-186: -------------------------- Summary: Lateral cache replication is not working with UDP discovery Key: JCS-186 URL: https://issues.apache.org/jira/browse/JCS-186 Project: Commons JCS Issue Type: Bug Components: TCP Lateral Cache Affects Versions: jcs-2.2 Reporter: Alex L
Hello, When using UDP discovery, the replication is not working. I'm using the basic example from the website and although the instances discover each other, there's no actual replication of cache objects. This issue only occurs with UDP discovery. When specifying the TCP Servers list everything works as exepected. The issue seems to be introduced with the refactorings in this commit: [http://svn.apache.org/viewvc/commons/proper/jcs/tags/commons-jcs-2.2/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java?r1=1803806&r2=1593843&diff_format=h] As a technical note, the tcpServer of the attributes is empty when using UDP discovery, so the DiscoveredService will never be added to the noWait list. Let me know if you need more details. Thank you, Alex -- This message was sent by Atlassian JIRA (v7.6.3#76005)