[infinispan-issues] [JBoss JIRA] (ISPN-9485) RoundRobinBalancingStrategy always starts from server 0

William Burns (JIRA) issues at jboss.org
Fri Sep 7 12:53:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-9485:
--------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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