Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/dgraph
/ uniqueKey
Method
uniqueKey
dgraph/cmd/zero/raft.go:89–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
87
}
88
89
func
(n *node) uniqueKey() uint64 {
90
return
atomic.AddUint64(&proposalKey, 1)
91
}
92
93
var
errInternalRetry = errors.New(
"Retry Raft proposal internally"
)
94
Callers
2
proposeAndWait
Method · 0.95
TestProposalKey
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestProposalKey
Function · 0.76