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

Function reportBackupQueryError

fdbbackup/backup.actor.cpp:2674–2678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2672}
2673
2674static void reportBackupQueryError(UID operationId, JsonBuilderObject& result, std::string errorMessage) {
2675 result["error"] = errorMessage;
2676 printf("%s\n", result.getJson().c_str());
2677 TraceEvent("BackupQueryFailure").detail("OperationId", operationId).detail("Reason", errorMessage);
2678}
2679
2680// If restoreVersion is invalidVersion or latestVersion, use the maximum or minimum restorable version respectively for
2681// selected key ranges. If restoreTimestamp is specified, any specified restoreVersion will be overriden to the version

Callers 1

Future<Void> queryBackupFunction · 0.85

Calls 5

printfFunction · 0.85
TraceEventClass · 0.85
getJsonMethod · 0.80
detailMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected