See: Description
Interface | Description |
---|---|
ActionError | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
Class | Description |
---|---|
FakeDocIterator | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
GenericDistributedQueue | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
GenericDistributedQueueFactory | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
LiveNodesSet | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
NoopDistributedQueueFactory | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimCloudManager | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimClusterStateProvider | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimDistribStateManager | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimDistribStateManager.Node | |
SimDistributedQueueFactory | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimDistributedQueueFactory.SimDistributedQueue | |
SimNodeStateProvider | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimScenario | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SimScenario.AddNodes |
Add one or more nodes.
|
SimScenario.ApplySuggestions |
Apply autoscaling suggestions.
|
SimScenario.Assert | |
SimScenario.CalculateSuggestions |
Calculate autoscaling suggestions.
|
SimScenario.CreateCluster |
Create a simulated cluster.
|
SimScenario.CtxRemove |
Remove a context property.
|
SimScenario.CtxSet |
Set a context property.
|
SimScenario.Dump |
Dump the simulator state to the console.
|
SimScenario.IndexDocs | |
SimScenario.KillNodes |
Kill one or more nodes.
|
SimScenario.LoadAutoscaling |
Load autoscaling.json configuration.
|
SimScenario.LoadSnapshot |
Create a simulated cluster from an autoscaling snapshot.
|
SimScenario.LoopOp |
Loop action.
|
SimScenario.RunSimulator |
Run the simulator for a while.
|
SimScenario.RunSolrRequest |
Execute a SolrRequest supported by
SimCloudManager . |
SimScenario.SaveSnapshot |
Save an autoscaling snapshot.
|
SimScenario.SetEventListener |
Set a temporary listener to wait for a specific trigger event processing.
|
SimScenario.SetNodeMetrics | |
SimScenario.SetOpDelays |
Set delays for specified collection operations in order to simulate slow execution.
|
SimScenario.SetShardMetrics | |
SimScenario.SimOp |
Base class for implementation of scenario DSL actions.
|
SimScenario.WaitCollection |
Wait for a specific collection shape.
|
SimScenario.WaitEvent |
Wait for the previously set listener to capture an event.
|
SimUtils | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SnapshotCloudManager | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SnapshotClusterStateProvider | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SnapshotDistribStateManager | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
SnapshotNodeStateProvider | Deprecated
to be removed in Solr 9.0 (see SOLR-14656)
|
Enum | Description |
---|---|
SimScenario.Condition | |
SimScenario.SimAction |
Actions supported by the scenario.
|
SimCloudManager
SolrCloudManager
uses the following simulated components:
SimDistribStateManager
- in-memory ZK look-alike, with support for Watcher-s, ephemeral and sequential nodes.SimClusterStateProvider
- manages collection, replica infos, states and replica metrics.SimNodeStateProvider
- manages node metrics.GenericDistributedQueue
- DistributedQueue that uses SimDistribStateManager.OverseerTriggerThread
so that it
uses real trigger and trigger action implementations, as well as real event scheduling and processing code.
It also provides methods for simulating Overseer leader change.
An important part of the SimCloudManager is also a request handler that processes common autoscaling
and collection admin requests. Autoscaling requests are processes by an instance of
AutoScalingHandler
(and result in changes in respective
data stored in SimDistribStateManager
). Collection
admin commands are simulated, ie. they don't use actual CollectionsHandler
due to the complex dependencies on real components.
SimClusterStateProvider
SimNodeStateProvider
SimCloudManager.createCluster(int, org.apache.solr.common.util.TimeSource)
method, each simulated node is initialized with some basic metrics that are expected by the autoscaling
framework, such as node name, fake system load average, heap usage and disk usage.
The number of cores and disk space metrics may be used in autoscaling calculations, so they are
tracked and adjusted by SimClusterStateProvider
according
to the currently active replicas located on each node.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.