MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / request

Method request

dgraph/cmd/live/batch.go:171–183  ·  view source on GitHub ↗
(req *request)

Source from the content-addressed store, hash-verified

169}
170
171func (l *loader) request(req *request) {
172 err := l.mutate(req)
173 if err == nil {
174 atomic.AddUint64(&l.nquads, uint64(len(req.Set)))
175 atomic.AddUint64(&l.txns, 1)
176 l.deregister(req)
177 return
178 }
179 handleError(err, false)
180 atomic.AddUint64(&l.aborts, 1)
181 l.retryRequestsWg.Add(1)
182 go l.infinitelyRetry(req)
183}
184
185func getTypeVal(val *api.Value) (types.Val, error) {
186 p := dql.TypeValFrom(val)

Callers 1

makeRequestsMethod · 0.95

Calls 5

mutateMethod · 0.95
deregisterMethod · 0.95
infinitelyRetryMethod · 0.95
handleErrorFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected