Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
Description
When reusing a HotRod client with several threads, site can be accidentally switched multiple times by threads invoking TcpTransportFactory.trySwitchCluster. This occurs when the threads attain 'maxRetries' limit at the same time, each of them being able to invoke TcpTransportFactory..updateServers with different 'clusterAddresses' parameter. This can lead to unpredictable result (e.g. switching back to failed cluster, while the other one (backup) is up and running).
Attachments
Issue Links
- relates to
-
ISPN-5987 Create concurrent topology switch under failover unit test
-
- New
-