Package related to internal implementations of the SolrCloud collections api
Interface Summary Interface Description Assign.AssignStrategyStrategy for assigning replicas to nodes. CollApiCmds.CollectionApiCommandInterface implemented by all Collection API commands. CollectionCommandContextData passed to Collection API command execution, to allow calls from either the
OverseerCollectionMessageHandlerwhen 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.CreateReplicaA data structure to keep all information required to create a new replica in one place. Assign Assign.AssignRequest Assign.AssignRequestBuilder BackupCmd CategoryRoutedAlias CollApiCmdsThis 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 CollApiCmds.DeleteReplicaPropCmd CollApiCmds.MockOperationCmd CollApiCmds.ModifyCollectionCmd CollApiCmds.RebalanceLeadersCmd CollApiCmds.ReloadCollectionCmd CollectionApiLockFactoryThis class implements a higher level locking abstraction for the Collection API using lower level read and write locks. CollectionHandlingUtilsThis class contains helper methods used by commands of the Collection API. CollectionHandlingUtils.ShardRequestTracker CreateAliasCmd CreateCollectionCmd CreateShardCmd CreateSnapshotCmdThis class implements the functionality of creating a collection level snapshot. DeleteAliasCmd DeleteBackupCmdAn overseer command used to delete files associated with incremental backups. DeleteCollectionCmd DeleteNodeCmd DeleteReplicaCmd DeleteShardCmd DeleteSnapshotCmdThis class implements the functionality of deleting a collection level snapshot. DimensionalRoutedAlias DistributedCollectionCommandContext DistributedCollectionConfigSetCommandRunner LeaderRecoveryWatcherWe 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 OcmhCollectionCommandContextContext passed to Collection API commands when they execute in the Overseer. OverseerCollectionMessageHandlerA
OverseerMessageHandlerthat handles Collections API related overseer messages.
OverseerRoleCmd OverseerStatusCmdThis 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). ReindexCollectionCmdReindex a collection, usually in order to change the index schema. RenameCmd ReplaceNodeCmd RestoreCmd RoutedAlias RoutedAlias.Action SetAliasPropCmd SplitShardCmd TimeRoutedAliasHolds configuration for a routed alias, and some common code and constants.
Enum Summary Enum Description ReindexCollectionCmd.Cmd ReindexCollectionCmd.State
Exception Summary Exception Description Assign.AssignmentExceptionThrown if there is an exception while assigning nodes for replicas