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

Method ServesGroup

worker/groups.go:375–377  ·  view source on GitHub ↗
(gid uint32)

Source from the content-addressed store, hash-verified

373}
374
375func (g *groupi) ServesGroup(gid uint32) bool {
376 return g.groupId() == gid
377}
378
379func (g *groupi) ChecksumsMatch(ctx context.Context) error {
380 if atomic.LoadUint64(&g.deltaChecksum) == atomic.LoadUint64(&g.membershipChecksum) {

Callers 13

isGroupOneLeaderFunction · 0.80
SortOverNetworkFunction · 0.80
DeleteNamespaceMethod · 0.80
proposeDeleteOrSendFunction · 0.80
getSchemaOverNetworkFunction · 0.80
SchemaMethod · 0.80
proposeRestoreOrSendFunction · 0.80
RestoreMethod · 0.80
ProposeDrainFunction · 0.80
ProcessTaskOverNetworkFunction · 0.80
ServeTaskMethod · 0.80
proposeOrSendFunction · 0.80

Calls 1

groupIdMethod · 0.95

Tested by

no test coverage detected