MCPcopy
hub / github.com/grafana/dskit / NewActivePartitionBatchRing

Function NewActivePartitionBatchRing

ring/partition_ring.go:533–537  ·  view source on GitHub ↗
(ring *PartitionRing)

Source from the content-addressed store, hash-verified

531}
532
533func NewActivePartitionBatchRing(ring *PartitionRing) *ActivePartitionBatchRing {
534 return &ActivePartitionBatchRing{
535 ring: ring,
536 }
537}
538
539// InstancesCount returns the number of active partitions in the ring.
540//

Calls

no outgoing calls