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

Method writeTaggedLogFile

fdbclient/BackupContainerFileSystem.actor.cpp:1182–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180}
1181
1182Future<Reference<IBackupFile>> BackupContainerFileSystem::writeTaggedLogFile(Version beginVersion,
1183 Version endVersion,
1184 int blockSize,
1185 uint16_t tagId,
1186 int totalTags) {
1187 return writeFile(BackupContainerFileSystemImpl::logVersionFolderString(beginVersion, true) +
1188 format("log,%lld,%lld,%s,%d-of-%d,%d",
1189 beginVersion,
1190 endVersion,
1191 deterministicRandom()->randomUniqueID().toString().c_str(),
1192 tagId,
1193 totalTags,
1194 blockSize));
1195}
1196
1197Future<Reference<IBackupFile>> BackupContainerFileSystem::writeRangeFile(Version snapshotBeginVersion,
1198 int snapshotFileCount,

Callers 1

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