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

Function logError

fdbclient/BackupAgentBase.actor.cpp:391–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391Future<Void> logError(Database cx, Key keyErrors, const std::string& message) {
392 return runRYWTransaction(cx, [=](Reference<ReadYourWritesTransaction> tr) {
393 logErrorWorker(tr, keyErrors, message);
394 return Future<Void>(Void());
395 });
396}
397
398Future<Void> logError(Reference<ReadYourWritesTransaction> tr, Key keyErrors, const std::string& message) {
399 return logError(tr->getDatabase(), keyErrors, message);

Callers 3

BackupRangeTaskFuncClass · 0.70
catchFunction · 0.70

Calls 3

logErrorWorkerFunction · 0.85
getDatabaseMethod · 0.65
VoidClass · 0.50

Tested by

no test coverage detected