You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (Jira)" <ji...@apache.org> on 2021/03/30 19:40:00 UTC

[jira] [Resolved] (JCS-186) Lateral cache replication is not working with UDP discovery

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

Thomas Vandahl resolved JCS-186.
--------------------------------
    Fix Version/s: jcs-3.1
         Assignee: Thomas Vandahl
       Resolution: Fixed

Hopefully fixed

> 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
>            Assignee: Thomas Vandahl
>            Priority: Major
>             Fix For: jcs-3.1
>
>
> 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
(v8.3.4#803005)