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

Method ShuffleShard

ring/ring.go:115–115  ·  view source on GitHub ↗

ShuffleShard returns a subring for the provided identifier (eg. a tenant ID) and size (number of instances).

(identifier string, size int)

Source from the content-addressed store, hash-verified

113 // ShuffleShard returns a subring for the provided identifier (eg. a tenant ID)
114 // and size (number of instances).
115 ShuffleShard(identifier string, size int) ReadRing
116
117 // GetInstanceState returns the current state of an instance or an error if the
118 // instance does not exist in the ring.

Implementers 2

Ringring/ring.go
RingMockring/util_test.go

Calls

no outgoing calls