[infinispan-issues] [JBoss JIRA] (ISPN-3223) HotRod Clinet recieves stale toplogy view on instance leave

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Thu Jun 13 01:48:55 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Takayoshi Kimura updated ISPN-3223:
-----------------------------------

    Description: 
When killed a HotRod server node, HotRod Clinet sometimes recieves a stale toplogy view which includes the dead node and uses it as a latest view. In this case the client keeps trying to connect that node and keeps failing.

Looks like the AbstractEncoder1x.generateTopologyResponse() takes care of node join but doesn't handle node leave:

{noformat}
if (!serverEndpointsMap.keySet.containsAll(cacheMembers)) {
{noformat}

For example, serverEndpointsMap.keySet is [A, B, C] and the actual cacheMembers is [A, B].

  was:
When killed a HotRod server node, HotRod Clinet sometimes recieves a stale toplogy view which includes the dead node and uses it as a latest view. In this case the client keeps trying to connect that node and keeps failing.

Looks like the AbstractEncoder1x.generateTopologyResponse() takes care of node join but doesn't handle not leave:

{noformat}
if (!serverEndpointsMap.keySet.containsAll(cacheMembers)) {
{noformat}

For example, serverEndpointsMap.keySet is [A, B, C] and the actual cacheMembers is [A, B].


    
> HotRod Clinet recieves stale toplogy view on instance leave
> -----------------------------------------------------------
>
>                 Key: ISPN-3223
>                 URL: https://issues.jboss.org/browse/ISPN-3223
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote protocols
>    Affects Versions: 5.2.4.Final, 5.3.0.CR1
>            Reporter: Takayoshi Kimura
>            Assignee: Galder Zamarreño
>
> When killed a HotRod server node, HotRod Clinet sometimes recieves a stale toplogy view which includes the dead node and uses it as a latest view. In this case the client keeps trying to connect that node and keeps failing.
> Looks like the AbstractEncoder1x.generateTopologyResponse() takes care of node join but doesn't handle node leave:
> {noformat}
> if (!serverEndpointsMap.keySet.containsAll(cacheMembers)) {
> {noformat}
> For example, serverEndpointsMap.keySet is [A, B, C] and the actual cacheMembers is [A, B].

--
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



More information about the infinispan-issues mailing list