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

Support simulating the execution of autoscaling suggestion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.1, 9.0
    • AutoScaling
    • None

    Description

      It's not always clear what would be the final state of the cluster after applying the suggested changes (obtained from /autoscaling/suggestions), especially on a large and busy cluster where several autoscaling rules have to be considered.

      This issue proposes to use the simulation framework for simulating the effects of the suggestions.

      First, the simulator would be initialized from the current state of a real cluster. Then it would run several rounds of simulated execution of suggestions until there were either no more suggestions (the cluster would be perfectly balanced) or the iteration count limit was reached.

      This simulation could be executed using either the deployed autoscaling config or one provided by the user, which would make it easier to test the effects of various configurations on the cluster layout.

      Support for this functionality would be integrated into the existing SolrCLI autoscaling tool.

      Attachments

        1. SOLR-13427.patch
          75 kB
          Andrzej Bialecki

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: