Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6968

Backport OPENDJ-5439: LeastRequestsStrategy should distribute load randomly when idle

    XMLWordPrintable

    Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Fixed
    • 5.5.0, 6.0.0, 6.5.0
    • 6.5.4
    • core apis

      Description

      LeastRequestsStrategy select the server which has the less number of concurrent requests already assigned to it.
      When all the servers have a same load (which is the case when idle) the request is currently sent to the first server of the list.

      During startup, AM sends a request to get all blacklisted tokens. When multiple instances of AM are starting-up simultaneously, all these requests are forwarded to the same DJ server: the first one from the list.

      A solution could be that when all server are idle, return a random server rather than the first one.

        Attachments

          Issue Links

            Activity

              People

              ondrej.fuchsik Ondrej Fuchsik
              cjr Chris Ridd
              Chris Ridd Chris Ridd
              carole forel carole forel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: