MCPcopy Create free account
hub / github.com/apple/foundationdb / readThrough

Method readThrough

fdbclient/ReadYourWrites.actor.cpp:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 // doesn't do that.
176
177 static Future<Optional<Value>> readThrough(ReadYourWritesTransaction* ryw, GetValueReq read, Snapshot snapshot) {
178 return ryw->tr.get(read.key, snapshot);
179 }
180
181 ACTOR static Future<Key> readThrough(ReadYourWritesTransaction* ryw, GetKeyReq read, Snapshot snapshot) {
182 Key key = wait(ryw->tr.getKey(read.key, snapshot));

Callers

nothing calls this directly

Calls 9

getMaxReadKeyMethod · 0.80
getMethod · 0.65
getKeyMethod · 0.65
getRangeMethod · 0.65
firstGreaterOrEqualFunction · 0.50
KeySelectorClass · 0.50
RangeResultStruct · 0.50
RangeResultRefClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected