Package org.apache.druid.server.coordinator.loading
package org.apache.druid.server.coordinator.loading
-
ClassDescriptionTracks the current segment loading rate for a single server.Callback executed when the load or drop of a segment completes on a server either with success or failure.Supports load queue management.Provides LoadQueuePeonsThe ReplicationThrottler is used to throttle the number of segment replicas that are assigned to a load queue in a single run.Provides iterators over historicals for a given tier that can load a specified segment.Represents actions that can be performed on a server for a single segment.Represents a segment queued for a load or drop operation in a LoadQueuePeon.Contains recomputed configs from
CoordinatorDynamicConfigbased on whetherCoordinatorDynamicConfig.isSmartSegmentLoading()is enabled or not.Manager for addition/removal of segments to server load queues and the corresponding success/failure callbacks.Counts the number of replicas of a segment in different states (loading, loaded, etc) in a tier or the whole cluster.Contains a mapping from tier toSegmentReplicaCounts.An immutable object that contains information about the under-replicated or unavailable status of all used segments.Maintains a map containing the state of a segment on all servers of a tier.Used by the coordinator in each run for segment loading, dropping, balancing and broadcasting.