Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ IsUp
Method
IsUp
ring.go:294–296 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
292
}
293
294
func
(shard *ringShard) IsUp() bool {
295
return
!shard.IsDown()
296
}
297
298
// Vote votes to set shard state and returns true if state was changed.
299
func
(shard *ringShard) Vote(up bool) bool {
Callers
3
String
Method · 0.95
rebalanceLocked
Method · 0.80
GetShardClients
Method · 0.80
Calls
1
IsDown
Method · 0.95
Tested by
no test coverage detected