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

Method hasLogRouter

fdbserver/LogSystem.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool LogSet::hasLogRouter(UID id) const {
39 for (const auto& router : logRouters) {
40 if (router->get().id() == id) {
41 return true;
42 }
43 }
44 return false;
45}
46
47bool LogSet::hasBackupWorker(UID id) const {
48 for (const auto& worker : backupWorkers) {

Callers 2

peekLogRouterMethod · 0.45

Calls 2

getMethod · 0.65
idMethod · 0.45

Tested by

no test coverage detected