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

Method getKnownCommittedVersion

fdbserver/TagPartitionedLogSystem.actor.cpp:1338–1347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336}
1337
1338Version TagPartitionedLogSystem::getKnownCommittedVersion() {
1339 Version result = invalidVersion;
1340 for (auto& it : lockResults) {
1341 auto versions = TagPartitionedLogSystem::getDurableVersion(dbgid, it);
1342 if (versions.present()) {
1343 result = std::max(result, std::get<0>(versions.get()));
1344 }
1345 }
1346 return result;
1347}
1348
1349Future<Void> TagPartitionedLogSystem::onKnownCommittedVersionChange() {
1350 std::vector<Future<Void>> result;

Callers 1

Calls 3

getDurableVersionFunction · 0.85
getMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected