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

Autoscaling not distributing collection evenly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0
    • 8.3
    • AutoScaling
    • 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. SOLR-13159.patch
          0.9 kB
          Andrzej Bialecki
        2. autoscaling.json
          2 kB
          Gus Heck
        3. clstat.json
          54 kB
          Gus Heck

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              gus Gus Heck
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: