Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dgraph-io/dgraph
/ leaderChangeChannel
Method
leaderChangeChannel
dgraph/cmd/zero/zero.go:149–153 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
147
}
148
149
func
(s *Server) leaderChangeChannel()
chan
struct
{} {
150
s.RLock()
151
defer
s.RUnlock()
152
return
s.leaderChangeCh
153
}
154
155
func
(s *Server) member(addr string) *pb.Member {
156
s.AssertRLock()
Callers
1
Oracle
Method · 0.95
Calls
2
RLock
Method · 0.80
RUnlock
Method · 0.80
Tested by
no test coverage detected