Patrick Seeber created ISPN-3876:
------------------------------------
Summary: TcpTransportFactory stores failed SocketAddress in
RequestBalancingStrategy
Key: ISPN-3876
URL:
https://issues.jboss.org/browse/ISPN-3876
Project: Infinispan
Issue Type: Bug
Affects Versions: 6.0.0.Final, 5.3.0.Final, 5.2.1.Final
Environment: Hotrod Client, Java
Reporter: Patrick Seeber
Assignee: Mircea Markus
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 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