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

Function debug_advanceVersion

fdbrpc/sim_validation.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void debug_advanceVersion(UID id, int64_t version, const char* suffix) {
46 if (!disabledMachines.count(id)) {
47 auto& entry = validationData[id.toString() + suffix];
48 if (version > entry)
49 entry = version;
50 }
51}
52
53void debug_advanceMinCommittedVersion(UID id, int64_t version) {
54 if (!g_network->isSimulated() || !g_simulator.extraDatabases.empty())

Calls 2

countMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected