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

Support non integer values for replica in autoscaling rules

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      This means the user can configure a decimal value in replica

      example :

      {"replica": 1.638, "node":"#ANY"}
      

      This means a few things. The no:of of replicas in a node can be either 2 or 1. This also means that violations are calculated as follows

      • If the replica count is 1 or 2 there are no violations¬†
      • If the replica count is 3, there is a violation and the delta is 3-1.638 = 1.362
      • if the replica count is 0, there is a violation and the delta is 1.638 - 0 = 1.638
      • This also means that the node with zero replicas has a more serious violation and the system would try to rectify that first before it address the node with 3 replicas

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                noble.paul Noble Paul
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: