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

Method IsActive

ring/partition_ring_model.go:504–506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502}
503
504func (m *PartitionDesc) IsActive() bool {
505 return m.GetState() == PartitionActive
506}
507
508func (m *PartitionDesc) IsInactive() bool {
509 return m.GetState() == PartitionInactive

Callers 4

activePartitionsCountMethod · 0.80
shuffleShardMethod · 0.80
ActivePartitionIDsMethod · 0.80

Calls 1

GetStateMethod · 0.95

Tested by

no test coverage detected