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

Add a default cluster policy

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Abandoned
    • Affects Version/s: None
    • Fix Version/s: 8.6, 8.6.1
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      [~varunthacker] commented on SOLR-12739:

      We should also ship with some default policies - "Don't allow more than one replica of a shard on the same JVM" , "Distribute cores across the cluster evenly" , "Distribute replicas per collection across the nodes"

      This issue is about adding these defaults. I propose the following as default cluster policy:

      # Each shard cannot have more than one replica on the same node if possible
      {"replica": "<2", "shard": "#EACH", "node": "#ANY", "strict":false}
      # Each collections replicas should be equally distributed amongst nodes
      {"replica": "#EQUAL", "node": "#ANY", "strict":false} 
      # All cores should be equally distributed amongst nodes
      {"cores": "#EQUAL", "node": "#ANY", "strict":false}
      

        Attachments

        1. Screen Shot 2020-07-27 at 10.57.33 AM.png
          130 kB
          Houston Putman
        2. Screenshot from 2020-07-18 21-07-34.png
          49 kB
          Ishan Chattopadhyaya
        3. SOLR-12845.patch
          11 kB
          Shalin Shekhar Mangar
        4. SOLR-12845.patch
          11 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

              • Assignee:
                ab Andrzej Bialecki
                Reporter:
                shalin Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: