Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7493

Requests aren't distributed evenly if the collection isn't present locally

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.2.1, 5.3, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      I had a SolrCloud cluster where every node is behind a simple round-robin load balancer.
      This cluster had two collections (A, B), and the slices of each were partitioned such that one collection (A) used two thirds of the nodes, and the other collection (B) used the remaining third of the nodes.

      I observed that every request for collection B that the load balancer sent to a node with (only) slices for collection A got proxied to one specific node hosting a slice for collection B. This node started running pretty hot, for obvious reasons.

      This meant that one specific node was handling the fan-out for slightly more than two-thirds of the requests against collection B.

        Attachments

        1. SOLR-7493.patch
          2 kB
          Jeff Wartes
        2. SOLR-7493.patch
          7 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              jwartes Jeff Wartes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: