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

Method ForceTablet

worker/groups.go:549–551  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

547}
548
549func (g *groupi) ForceTablet(key string) (*pb.Tablet, error) {
550 return g.sendTablet(&pb.Tablet{GroupId: g.groupId(), Predicate: key, Force: true})
551}
552
553func (g *groupi) HasMeInState() bool {
554 g.RLock()

Callers 1

handleRestoreProposalFunction · 0.80

Calls 2

sendTabletMethod · 0.95
groupIdMethod · 0.95

Tested by

no test coverage detected