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

Method Ctx

worker/draft.go:284–289  ·  view source on GitHub ↗
(key uint64)

Source from the content-addressed store, hash-verified

282}
283
284func (n *node) Ctx(key uint64) context.Context {
285 if pctx := n.Proposals.Get(key); pctx != nil {
286 return pctx.Ctx
287 }
288 return context.Background()
289}
290
291func (n *node) applyConfChange(e raftpb.Entry) {
292 var cc raftpb.ConfChange

Callers 11

applyCommittedMethod · 0.95
SubscribeForAclUpdatesFunction · 0.45
upsertGuardianAndGrootFunction · 0.45
applyProposalMethod · 0.45
runFunction · 0.45
backupCurrentGroupFunction · 0.45
sendDeleteToZeroFunction · 0.45
RunMapperFunction · 0.45
fillTimestampRequestsMethod · 0.45
retrieveSnapshotMethod · 0.45
runTestsFunction · 0.45

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected