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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.2.1, 5.3, 6.0
    • SolrCloud
    • 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
          7 kB
          Shalin Shekhar Mangar
        2. SOLR-7493.patch
          2 kB
          Jeff Wartes

        Activity

          People

            shalin Shalin Shekhar Mangar
            jwartes Jeff Wartes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: