MCPcopy Index your code
hub / github.com/cortexproject/cortex / GetReplicationSetForOperation

Method GetReplicationSetForOperation

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

GetReplicationSetForOperation returns all instances where the input operation should be executed. The resulting ReplicationSet doesn't necessarily contains all healthy instances in the ring, but could contain the minimum set of instances required to execute the input operation.

(op Operation)

Source from the content-addressed store, hash-verified

60 // in the ring, but could contain the minimum set of instances required to execute
61 // the input operation.
62 GetReplicationSetForOperation(op Operation) (ReplicationSet, error)
63
64 ReplicationFactor() int
65

Implementers 2

Ringpkg/ring/ring.go
RingMockpkg/ring/mock.go

Calls

no outgoing calls