MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / MaxPending

Method MaxPending

dgraph/cmd/zero/oracle.go:298–302  ·  view source on GitHub ↗

MaxPending returns the maximum assigned timestamp.

()

Source from the content-addressed store, hash-verified

296
297// MaxPending returns the maximum assigned timestamp.
298func (o *Oracle) MaxPending() uint64 {
299 o.RLock()
300 defer o.RUnlock()
301 return o.maxAssigned
302}
303
304// proposeTxn proposes a txn update, and then updates src to reflect the state
305// of the commit after proposal is run.

Callers 1

ConnectMethod · 0.80

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by

no test coverage detected