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

Function getGeneration

fdbclient/PaxosConfigTransaction.actor.cpp:223–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 Optional<Version> const& lastSeenLiveVersion = {})
222 : ctis(ctis), lastSeenLiveVersion(lastSeenLiveVersion) {}
223 Future<ConfigGeneration> getGeneration() {
224 if (!getGenerationFuture.isValid()) {
225 getGenerationFuture = getGenerationActor(this);
226 }
227 return getGenerationFuture;
228 }
229 bool isReady() const {
230 return getGenerationFuture.isValid() && getGenerationFuture.isReady() && !getGenerationFuture.isError();
231 }

Callers 13

getChangesMethod · 0.85
getNewGenerationMethod · 0.85
getMethod · 0.85
getConfigClassesMethod · 0.85
getKnobsMethod · 0.85
commitMethod · 0.85
rollforwardMethod · 0.85
getCommittedVersionMethod · 0.85
getMethod · 0.85
getConfigClassesMethod · 0.85
getKnobsMethod · 0.85
commitMethod · 0.85

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected