MCPcopy
hub / github.com/dgraph-io/dgraph / isBlocked

Method isBlocked

dgraph/cmd/zero/zero.go:328–331  ·  view source on GitHub ↗
(pred string)

Source from the content-addressed store, hash-verified

326}
327
328func (s *Server) isBlocked(pred string) bool {
329 _, blocked := s.blockCommitsOn.Load(pred)
330 return blocked
331}
332
333func (s *Server) servingTablet(tablet string) *pb.Tablet {
334 s.AssertRLock()

Callers 1

commitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected