You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2019/04/25 12:45:00 UTC

[jira] [Commented] (SOLR-13427) Support simulating the execution of autoscaling suggestion

    [ https://issues.apache.org/jira/browse/SOLR-13427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826028#comment-16826028 ] 

Andrzej Bialecki  commented on SOLR-13427:
------------------------------------------

This patch contains several changes:

* it moves the main simulation framework classes to {{solr/core}} (from tests)
* adds several improvements to the simulator so that it can be fully initialized from an already running instance of Solr
* adds support in {{SolrCLI autoscaling}} for running a specified number of iterations to simulate the effects of applying suggestions, and provides detailed status of intermediate states. 

TODO:
* cleanup of {{CloudTestUtils}}, since most of its methods have been moved to {{CloudUtil}} in solr/core.
* maybe add support for dumping a snapshot of a (real) cluster state so that it can be used in a later simulation run instead of the real cluster, for running "what would've happened if" scenarios?

> Support simulating the execution of autoscaling suggestion
> ----------------------------------------------------------
>
>                 Key: SOLR-13427
>                 URL: https://issues.apache.org/jira/browse/SOLR-13427
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>             Fix For: master (9.0)
>
>         Attachments: SOLR-13427.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org