Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9485

RoundRobinBalancingStrategy always starts from server 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.4.0.CR3
    • 9.4.0.CR1
    • Hot Rod
    • None

      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.

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: