Class SegmentReplicationStatus
java.lang.Object
org.apache.druid.server.coordinator.loading.SegmentReplicationStatus
An immutable object that contains information about the under-replicated
or unavailable status of all used segments. This state is recomputed by
the
StrategicSegmentAssigner in every run.-
Constructor Summary
ConstructorsConstructorDescriptionSegmentReplicationStatus(Map<SegmentId, Map<String, SegmentReplicaCount>> replicaCountsInTier) -
Method Summary
Modifier and TypeMethodDescriptiongetReplicaCountsInCluster(SegmentId segmentId) getTierToDatasourceToUnderReplicated(Iterable<DataSegment> usedSegments, boolean ignoreMissingServers)
-
Constructor Details
-
SegmentReplicationStatus
-
-
Method Details
-
getReplicaCountsInCluster
-
getTierToDatasourceToUnderReplicated
public Map<String,it.unimi.dsi.fastutil.objects.Object2LongMap<String>> getTierToDatasourceToUnderReplicated(Iterable<DataSegment> usedSegments, boolean ignoreMissingServers)
-