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

Method getCommittedVersion

fdbserver/ConfigNode.actor.cpp:549–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547 }
548
549 ACTOR static Future<Void> getCommittedVersion(ConfigNodeImpl* self, ConfigFollowerGetCommittedVersionRequest req) {
550 state Version lastCompacted = wait(getLastCompactedVersion(self));
551 ConfigGeneration generation = wait(getGeneration(self));
552 req.reply.send(ConfigFollowerGetCommittedVersionReply{ lastCompacted, generation.committedVersion });
553 return Void();
554 }
555
556 ACTOR static Future<Void> serve(ConfigNodeImpl* self, ConfigFollowerInterface const* cfi) {
557 loop {

Callers

nothing calls this directly

Calls 3

getGenerationFunction · 0.85
VoidClass · 0.50
sendMethod · 0.45

Tested by

no test coverage detected