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

Method writeLogFile

fdbclient/BackupContainerFileSystem.actor.cpp:1171–1180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169}; // class BackupContainerFileSystemImpl
1170
1171Future<Reference<IBackupFile>> BackupContainerFileSystem::writeLogFile(Version beginVersion,
1172 Version endVersion,
1173 int blockSize) {
1174 return writeFile(BackupContainerFileSystemImpl::logVersionFolderString(beginVersion, false) +
1175 format("log,%lld,%lld,%s,%d",
1176 beginVersion,
1177 endVersion,
1178 deterministicRandom()->randomUniqueID().toString().c_str(),
1179 blockSize));
1180}
1181
1182Future<Reference<IBackupFile>> BackupContainerFileSystem::writeTaggedLogFile(Version beginVersion,
1183 Version endVersion,

Callers 3

Future<Void> convertFunction · 0.80

Calls 6

writeFileFunction · 0.85
deterministicRandomFunction · 0.85
randomUniqueIDMethod · 0.80
formatFunction · 0.50
c_strMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected