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

Autoscaling not distributing collection evenly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0
    • Fix Version/s: 8.3
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      I recently ran into a very strange behavior described in detail in the mail linked at the bottom of this description. In short: 

      1. Default settings didn't distribute nodes evenly on brand new 50 node cluster
      2. Can't seem to write rules producing suggestions to distribute them evenly 
      3. Suggestions are made that then fail despite quiet cluster, no changes.

      Also of note was diagnostic output containing this seemingly impossible result with 2 cores counted and no replicas listed:

                  {
                      "node": "solr-2.customer.redacted.com:8983_solr",
                      "isLive": true,
                      "cores": 2,
                      "freedisk": 140.03918838500977,
                      "totaldisk": 147.5209503173828,
                      "replicas": {}
                  },

      I will attach anonymized cluster status output and autoscaling.json shortly 

      This issue may be related to SOLR-13142

      http://mail-archives.apache.org/mod_mbox/lucene-dev/201901.mbox/%3CCAEUNc48HRZA7qo-uKtJQEtZnO9VG9OErQZGzoOmCTBe7C9zvNw%40mail.gmail.com%3E

       

        Attachments

        1. autoscaling.json
          2 kB
          Gus Heck
        2. clstat.json
          54 kB
          Gus Heck
        3. SOLR-13159.patch
          0.9 kB
          Andrzej Bialecki

          Issue Links

            Activity

              People

              • Assignee:
                ab Andrzej Bialecki
                Reporter:
                gus Gus Heck
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: