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

Method commitTs

dgraph/cmd/zero/oracle.go:276–280  ·  view source on GitHub ↗
(startTs uint64)

Source from the content-addressed store, hash-verified

274}
275
276func (o *Oracle) commitTs(startTs uint64) uint64 {
277 o.RLock()
278 defer o.RUnlock()
279 return o.commits[startTs]
280}
281
282func (o *Oracle) storePending(ids *pb.AssignedIds) {
283 // Wait to finish up processing everything before start id.

Callers 3

updateCommitStatusMethod · 0.95
proposeTxnMethod · 0.80
TryAbortMethod · 0.80

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by

no test coverage detected