[
https://issues.apache.org/jira/browse/SOLR-13440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832110#comment-16832110
]
Andrzej Bialecki commented on SOLR-13440:
------------------------------------------
This patch contains the following:
* {{SnapshotCloudManager}} and a set of {{Snapshot*}} components that can
represent a read-only view of all autoscaling data. These components can be
initialized either from another {{SolrCloudManager}} or from JSON data.
* Improvements in {{SolrCloudManager}} components and API to support round-trip
serialization to/from JSON maps.
* {{SolrCLI}} support for saving and reading autoscaling snapshots. The
{{save}} operation always requires access to a live cluster. All other existing
functionality of {{bin/solr autoscaling}} is supported when using data from a
saved snapshot - so it's possible to test suggestions/violations using a custom
autoscaling config and/or run simulated execution of suggestions - all without
actually having access to a running Solr instance.
* unit tests for snapshot data consistency and round-trip serialization.
> Support saving/restoring state of the SimCloudManager for repeatable
> simulations
> --------------------------------------------------------------------------------
>
> Key: SOLR-13440
> URL: https://issues.apache.org/jira/browse/SOLR-13440
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
> Attachments: SOLR-13440.patch
>
>
> In order to run simulated experiments that test variations in autoscaling
> configs and their impact on the cluster layout we need to be able to start
> from a known well-defined state.
> Currently the {{bin/solr autoscaling -simulate}} tool supports getting the
> initial state from an actual running cluster. This issue proposes adding
> support for saving and restoring this state from local files for running
> repeatable experiments.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]