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

Method forceRecoveryWithDataLoss

fdbclient/ThreadSafeTransaction.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96ThreadFuture<Void> ThreadSafeDatabase::forceRecoveryWithDataLoss(const StringRef& dcid) {
97 DatabaseContext* db = this->db;
98 Key dcidKey = dcid;
99 return onMainThread([db, dcidKey]() -> Future<Void> {
100 db->checkDeferredError();
101 return db->forceRecoveryWithDataLoss(dcidKey);
102 });
103}
104
105ThreadFuture<Void> ThreadSafeDatabase::createSnapshot(const StringRef& uid, const StringRef& snapshot_command) {
106 DatabaseContext* db = this->db;

Callers

nothing calls this directly

Calls 2

onMainThreadFunction · 0.50
checkDeferredErrorMethod · 0.45

Tested by

no test coverage detected