Package org.apache.solr.cloud.api.collections
package org.apache.solr.cloud.api.collections
Package related to internal implementations of the SolrCloud collections api
-
ClassDescriptionA data structure to keep all information required to create a new replica in one place.Thrown if there is an exception while assigning nodes for replicasStrategy for assigning replicas to nodes.This class contains "smaller" Collection API commands implementation, the interface implemented by all commands and the class mapping a collection action to the actual command.Interface implemented by all Collection API commands.Map
CollectionParams.CollectionActionto instances ofCollApiCmds.CollectionApiCommandand being usable by bothOverseerCollectionMessageHandlerandDistributedCollectionConfigSetCommandRunnerso that the mappings do not have to be maintained in two places.This class implements a higher level locking abstraction for the Collection API using lower level read and write locks.Data passed to Collection API command execution, to allow calls from either theOverseerCollectionMessageHandlerwhen commands are executed on the Overseer, or - in a future change - allow Collection API commands to be executed in a distributed way, unrelated to and not depending upon Overseer abstractions (including overseer collection message handling).This class contains helper methods used by commands of the Collection API.This class implements the functionality of creating a collection level snapshot.An overseer command used to delete files associated with incremental backups.This class implements the functionality of deleting a collection level snapshot.Class for execution Collection API and Config Set API commands in a distributed way, without going through Overseer andOverseerCollectionMessageHandlerorOverseerConfigSetMessageHandler.Overseer processing for the "install shard data" API.A value-type representing the message received byInstallShardDataCmdWe use this watcher to wait for any eligible replica in a shard to become active so that it can become a leader.Context passed to Collection API commands when they execute in the Overseer.AOverseerMessageHandlerthat handles Collections API related overseer messages.This command returns stats about the Overseer, the cluster state updater and collection API activity occurring within the current Overseer node (this is important because distributed operations occurring on other nodes are not included in these stats, for example distributed cluster state updates or Per Replica States updates).Reindex a collection, usually in order to change the index schema.SolrCloud logic for splitting a shard.Holds configuration for a routed alias, and some common code and constants.