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

Method endEpoch

fdbserver/TagPartitionedLogSystem.actor.cpp:1625–1633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623}
1624
1625Future<Void> TagPartitionedLogSystem::endEpoch() {
1626 std::vector<Future<Void>> lockResults;
1627 for (auto& logSet : tLogs) {
1628 for (auto& log : logSet->logServers) {
1629 lockResults.push_back(success(lockTLog(dbgid, log)));
1630 }
1631 }
1632 return waitForAll(lockResults);
1633}
1634
1635Future<Reference<ILogSystem>> TagPartitionedLogSystem::newEpoch(
1636 RecruitFromConfigurationReply const& recr,

Callers 6

whenFunction · 0.80
Future<Void> tLogStartFunction · 0.80
whenFunction · 0.80
Future<Void> tLogStartFunction · 0.80
whenFunction · 0.80
stopAllTLogsFunction · 0.80

Calls 2

waitForAllFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected