Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
504
func
(m *PartitionDesc) IsActive() bool {
505
return
m.GetState() == PartitionActive
506
}
507
508
func
(m *PartitionDesc) IsInactive() bool {
509
return
m.GetState() == PartitionInactive
Callers
4
activePartitionsCount
Method · 0.80
buildRingTokenPartitionLookups
Function · 0.80
shuffleShard
Method · 0.80
ActivePartitionIDs
Method · 0.80
Calls
1
GetState
Method · 0.95
Tested by
no test coverage detected