[infinispan-issues] [JBoss JIRA] (ISPN-2669) Add a Active-Passive Failover Strategy for Hot Rod client
Ray Tsang (JIRA)
jira-events at lists.jboss.org
Fri Dec 21 16:03:08 EST 2012
[ https://issues.jboss.org/browse/ISPN-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742935#comment-12742935 ]
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
More information about the infinispan-issues
mailing list