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

Policy rules do not support host variable

    XMLWordPrintableJSON

Details

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

    Description

      The policy documentation says that there is a host variable supported in policy rules at https://lucene.apache.org/solr/guide/7_5/solrcloud-autoscaling-policy-preferences.html#node-selection-attributes

      But there is no mention of it in the code. Perhaps it got lost during refactorings and there were no tests for it? In any case, we should add it back. It'd be great if we can support #EACH for host so that one can write a rule to distribute replicas across hosts and not just nodes. This would be very useful when one runs multiple Solr JVMs in the same physical node.

      Attachments

        Activity

          People

            noble.paul Noble Paul
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: