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

Function debug_checkRestoredVersion

fdbrpc/sim_validation.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool debug_checkRestoredVersion(UID id, int64_t version, std::string context, Severity sev) {
91 if (!g_network->isSimulated() || !g_simulator.extraDatabases.empty())
92 return false;
93 return debug_checkPartRestoredVersion(id, version, context, "min", sev) ||
94 debug_checkPartRestoredVersion(id, version, context, "max", sev);
95}
96
97void debug_removeVersions(UID id) {
98 if (!g_network->isSimulated() || !g_simulator.extraDatabases.empty())

Callers 1

Calls 3

isSimulatedMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected