Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/dgraph
/ Store
Method
Store
posting/oracle.go:193–195 ·
view source on GitHub ↗
Store is used by tests.
(pl *List)
Source
from the content-addressed store, hash-verified
191
192
// Store is used by tests.
193
func
(txn *Txn) Store(pl *List) *List {
194
return
txn.cache.SetIfAbsent(string(pl.key), pl)
195
}
196
197
type
oracle
struct
{
198
x.SafeMutex
Callers
12
upsertGuardian
Function · 0.45
upsertGroot
Function · 0.45
proposeAndWait
Method · 0.45
blockTablet
Method · 0.45
checkAndSetInitialSchema
Method · 0.45
TestReverseIndex
Function · 0.45
init
Function · 0.45
commitTransaction
Function · 0.45
proposeAndWait
Method · 0.45
initMemoryLayer
Function · 0.45
up
Method · 0.45
updatingSchema
Method · 0.45
Calls
1
SetIfAbsent
Method · 0.80
Tested by
2
TestReverseIndex
Function · 0.36
commitTransaction
Function · 0.36