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

Function destServersString

fdbserver/DataDistributionQueue.actor.cpp:1343–1353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342
1343static std::string destServersString(std::vector<std::pair<Reference<IDataDistributionTeam>, bool>> const& bestTeams) {
1344 std::stringstream ss;
1345
1346 for (auto& tc : bestTeams) {
1347 for (const auto& id : tc.first->getServerIDs()) {
1348 ss << id.toString() << " ";
1349 }
1350 }
1351
1352 return std::move(ss).str();
1353}
1354
1355// This actor relocates the specified keys to a good place.
1356// The inFlightActor key range map stores the actor for each RelocateData

Calls 3

moveFunction · 0.85
toStringMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected