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

Method traceServerTeamInfo

fdbserver/DDTeamCollection.actor.cpp:3980–3992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3978}
3979
3980void DDTeamCollection::traceServerTeamInfo() const {
3981 int i = 0;
3982
3983 TraceEvent("ServerTeamInfo", distributorId).detail("Size", teams.size());
3984 for (auto& team : teams) {
3985 TraceEvent("ServerTeamInfo", distributorId)
3986 .detail("TeamIndex", i++)
3987 .detail("Healthy", team->isHealthy())
3988 .detail("TeamSize", team->size())
3989 .detail("MemberIDs", team->getServerIDsStr())
3990 .detail("TeamID", team->getTeamID());
3991 }
3992}
3993
3994void DDTeamCollection::traceMachineInfo() const {
3995 int i = 0;

Callers

nothing calls this directly

Calls 6

TraceEventClass · 0.85
detailMethod · 0.80
getServerIDsStrMethod · 0.80
sizeMethod · 0.45
isHealthyMethod · 0.45
getTeamIDMethod · 0.45

Tested by

no test coverage detected