Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ NextGeneration
Method
NextGeneration
osscluster.go:687–689 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
685
}
686
687
func
(c *clusterNodes) NextGeneration() uint32 {
688
return
atomic.AddUint32(&c.generation, 1)
689
}
690
691
// GC removes unused nodes.
692
func
(c *clusterNodes) GC(generation uint32) {
Callers
1
newClusterState
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected