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

Method IsPending

ring/partition_ring_model.go:500–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

498}
499
500func (m *PartitionDesc) IsPending() bool {
501 return m.GetState() == PartitionPending
502}
503
504func (m *PartitionDesc) IsActive() bool {
505 return m.GetState() == PartitionActive

Callers 3

shuffleShardMethod · 0.80
PendingPartitionIDsMethod · 0.80

Calls 1

GetStateMethod · 0.95

Tested by

no test coverage detected