[infinispan-issues] [JBoss JIRA] (ISPN-9485) RoundRobinBalancingStrategy always starts from server 0
Dan Berindei (JIRA)
issues at jboss.org
Wed Sep 5 03:47:00 EDT 2018
Dan Berindei created ISPN-9485:
----------------------------------
Summary: RoundRobinBalancingStrategy always starts from server 0
Key: ISPN-9485
URL: https://issues.jboss.org/browse/ISPN-9485
Project: Infinispan
Issue Type: Bug
Components: Hot Rod
Affects Versions: 9.4.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.4.0.Final
{{RoundRobinBalancingStrategy}} always starts from server 0, and resets back to 0 if a server topology update has less servers. This means if N clients start and immediately add a listener (e.g. for near cache), all N client listeners will be attached to the same server.
We should pick a random server on every server topology update instead, so that near cache listeners are attached to random servers.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list