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

ASF subversion and git services commented on SOLR-13831:
--------------------------------------------------------

Commit d2b01ef28f918e2f3575081c206203be49889501 in lucene-solr's branch 
refs/heads/gradle-master from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d2b01ef ]

SOLR-13831: Context property _loop_iter_ should be a string in order to support
variable expansion.


> Support defining arbitrary autoscaling simulation scenarios
> -----------------------------------------------------------
>
>                 Key: SOLR-13831
>                 URL: https://issues.apache.org/jira/browse/SOLR-13831
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Andrzej Bialecki
>            Assignee: Andrzej Bialecki
>            Priority: Major
>             Fix For: 8.4
>
>         Attachments: SOLR-13831.patch, SOLR-13831.patch
>
>
> In many cases where the {{bin/solr autoscaling}} tool is used it would be 
> very useful to be able to specify a concrete scenario to play out, eg:
>  * load a snapshot (or create a simulated cluster of N nodes)
>  * calculate suggestions
>  * apply suggestions
>  * kill one or more nodes
>  * loop N times
>  * make some arbitrary SolrRequest-s
>  * save snapshot
>  * etc...
>  
> This could be expressed as a very simple DSL that can be loaded from a text 
> file, with the following format:
> {code:java}
> # comments
> // or comments
> create_cluster numNodes=5 // inline comment
> solr_request 
> /admin/collections?action=CREATE&name=testCollection&numShards=2&replicationFactor=2
> loop_start iterations=10
>   calculate_suggestions
>   apply_suggestions
> loop_end
> save_snapshot path=/foo{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to