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

Placing exact number of replicas on a set of solr nodes, instead of each solr node.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master (9.0)
    • Fix Version/s: 8.2, master (9.0)
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      Let's say we have a requirement where we would like to place:

      exact X replica on a set of solr nodes comprises of solr-node-1, solr-node-2, ... solr-node-N.
      

      e.g. exact 1 replica on either of the respective 3 solr nodes, solr-node-1, solr-node-2, solr-node-3, and rest of the replicas can be placed on corresponding solr nodes.

      Right now we don't have a straightforward manner of doing the same. Autoscaling cluster policy also doesn't support such behavior, but instead takes an array of solr node names and treat them as separate rules as per https://lucene.apache.org/solr/guide/7_7/solrcloud-autoscaling-policy-preferences.html#sysprop-attribute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                sarkaramrit2@gmail.com Amrit Sarkar
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h