Package org.apache.solr.cloud.api.collections
Package related to internal implementations of the SolrCloud collections api
-
Interface Summary Interface Description Assign.AssignStrategy Strategy for assigning replicas to nodes.CollApiCmds.CollectionApiCommand Interface implemented by all Collection API commands.CollectionCommandContext Data passed to Collection API command execution, to allow calls from either theOverseerCollectionMessageHandler
when 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). -
Class Summary Class Description AddReplicaCmd AddReplicaCmd.CreateReplica A data structure to keep all information required to create a new replica in one place.Assign Assign.AssignRequest Assign.AssignRequestBuilder BackupCmd CategoryRoutedAlias CollApiCmds 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.CollApiCmds.AddReplicaPropCmd CollApiCmds.BalanceShardsUniqueCmd CollApiCmds.CommandMap MapCollectionParams.CollectionAction
to instances ofCollApiCmds.CollectionApiCommand
and being usable by bothOverseerCollectionMessageHandler
andDistributedCollectionConfigSetCommandRunner
so that the mappings do not have to be maintained in two places.CollApiCmds.DeleteReplicaPropCmd CollApiCmds.MockOperationCmd CollApiCmds.ModifyCollectionCmd CollApiCmds.RebalanceLeadersCmd CollApiCmds.ReloadCollectionCmd CollectionApiLockFactory This class implements a higher level locking abstraction for the Collection API using lower level read and write locks.CollectionHandlingUtils This class contains helper methods used by commands of the Collection API.CollectionHandlingUtils.ShardRequestTracker CreateAliasCmd CreateCollectionCmd CreateShardCmd CreateSnapshotCmd This class implements the functionality of creating a collection level snapshot.DeleteAliasCmd DeleteBackupCmd An overseer command used to delete files associated with incremental backups.DeleteCollectionCmd DeleteNodeCmd DeleteReplicaCmd DeleteShardCmd DeleteSnapshotCmd This class implements the functionality of deleting a collection level snapshot.DimensionalRoutedAlias DistributedCollectionCommandContext DistributedCollectionConfigSetCommandRunner Class for execution Collection API and Config Set API commands in a distributed way, without going through Overseer andOverseerCollectionMessageHandler
orOverseerConfigSetMessageHandler
.LeaderRecoveryWatcher We use this watcher to wait for any eligible replica in a shard to become active so that it can become a leader.MaintainRoutedAliasCmd MigrateCmd MoveReplicaCmd OcmhCollectionCommandContext Context passed to Collection API commands when they execute in the Overseer.OverseerCollectionMessageHandler AOverseerMessageHandler
that handles Collections API related overseer messages.OverseerRoleCmd OverseerStatusCmd 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).ReindexCollectionCmd Reindex a collection, usually in order to change the index schema.RenameCmd ReplaceNodeCmd RestoreCmd RoutedAlias RoutedAlias.Action SetAliasPropCmd SplitShardCmd TimeRoutedAlias Holds configuration for a routed alias, and some common code and constants. -
Enum Summary Enum Description ReindexCollectionCmd.Cmd ReindexCollectionCmd.State -
Exception Summary Exception Description Assign.AssignmentException Thrown if there is an exception while assigning nodes for replicas