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

Method dbWriter

xidmap/xidmap.go:241–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239}
240
241func (m *XidMap) dbWriter() {
242 defer m.wg.Done()
243 for buf := range m.kvChan {
244 for _, kv := range buf {
245 x.Panic(m.writer.Set(kv.key, kv.value))
246 }
247 }
248}
249
250// AssignUid creates new or looks up existing XID to UID mappings. It also returns if
251// UID was created.

Callers 1

NewFunction · 0.95

Calls 3

PanicFunction · 0.92
SetMethod · 0.65
DoneMethod · 0.45

Tested by

no test coverage detected