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

Autoscaling framework based replica placement is not used unless a policy is specified or non-empty cluster policy exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.4
    • 7.6, 8.0
    • AutoScaling, SolrCloud
    • None

    Description

      Assign.java has a piece of code to decide which placement framework to use (we have three today):

      if (rulesMap == null && policyName == null && autoScalingConfig.getPolicy().getClusterPolicy().isEmpty())
      

      Note that the presence of cluster preferences is not a criteria. So even if a user adds cluster preferences, they will not be respected unless a policy also exists.

      Attachments

        1. SOLR-12648.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-12648.patch
          16 kB
          Shalin Shekhar Mangar
        3. SOLR-12648.patch
          14 kB
          Shalin Shekhar Mangar
        4. SOLR-12648.patch
          23 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: