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

AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • None
    • None

    Description

      Currently when finding the best node to host the failed replicas, we respect the maxShardsPerNode property. This is not an ideal solution as it's a per collection property and we need a cluster wide property. Also using maxShardsPerNode can lead to unequal distribution of replicas across nodes.

      We should just let users use the CLUSTERPROP API to set the max number of cores to be hosted on each node and use that value while picking the node the replica will be hosted on.

      Attachments

        1. SOLR-7117.patch
          15 kB
          Varun Thacker
        2. SOLR-7117.patch
          14 kB
          Varun Thacker
        3. SOLR-7117.patch
          13 kB
          Varun Thacker
        4. SOLR-7117.patch
          4 kB
          Varun Thacker

        Activity

          People

            varun Varun Thacker
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: