[infinispan-issues] [JBoss JIRA] (ISPN-3876) TcpTransportFactory stores failed SocketAddress in RequestBalancingStrategy

Tristan Tarrant (JIRA) issues at jboss.org
Mon Jan 12 09:17:00 EST 2015


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

Tristan Tarrant reassigned ISPN-3876:
-------------------------------------

    Assignee:     (was: Mircea Markus)


> TcpTransportFactory stores failed SocketAddress in RequestBalancingStrategy
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-3876
>                 URL: https://issues.jboss.org/browse/ISPN-3876
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 5.2.1.Final, 5.3.0.Final, 6.0.0.Final
>         Environment: Hotrod Client, Java
>            Reporter: Patrick Seeber
>
> The "updateServers" Method in the TcpTransportFactory class iterates over all addedServers and adds them to the connection pool if no exceptions are thrown. Howerver, if an exception is thrown, the SocketAddress may not have been added to the conection pool but is added to the balancer afterwards. Therefore, the balancer may contain an invalid SocketAddress which is not contained in the connection pool.
> In our application with few distributed caches, we encounter situations where all servers (SocketAddresses) are corrupt and the application fails to load or store entries in/from the cache.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list