[
https://issues.jboss.org/browse/ISPN-2669?page=com.atlassian.jira.plugin....
]
Ray Tsang commented on ISPN-2669:
---------------------------------
I implemented something according to Mircea's suggestion where the balancer will
always return the first one in the server list. However, if the first server disappears,
and before server is removed the server list, RetryOnFailureOperation will attempt to
retry by getting the nextServer, but nextServer will always return 1st one - which will
fail. In the end, RetryOnFailure will exceed the max retries and fail.
Perhaps RetryOnFailureOperation will need to tell the TransportFactory that a server had
disappeared.
Add a Active-Passive Failover Strategy for Hot Rod client
---------------------------------------------------------
Key: ISPN-2669
URL:
https://issues.jboss.org/browse/ISPN-2669
Project: Infinispan
Issue Type: Feature Request
Components: Remote protocols
Reporter: Ray Tsang
Assignee: Galder ZamarreƱo
Currently HotRod client has only Round Robin request balancing strategy. There may be
use cases where user needs to do an active-passive setup where all requests to go primary
active node and only fallback to passive node when active is down.
--
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