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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 7.6, 8.0
    • Component/s: AutoScaling, SolrCloud
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: