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

Method hasBackupWorker

fdbserver/LogSystem.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool LogSet::hasBackupWorker(UID id) const {
48 for (const auto& worker : backupWorkers) {
49 if (worker->get().id() == id) {
50 return true;
51 }
52 }
53 return false;
54}
55
56std::string LogSet::logServerString() {
57 std::string result;

Callers 2

peekLogRouterMethod · 0.45
serializeMethod · 0.45

Calls 2

getMethod · 0.65
idMethod · 0.45

Tested by

no test coverage detected