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

Method launchQueuedWork

fdbserver/DataDistributionQueue.actor.cpp:1090–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088 }
1089
1090 void launchQueuedWork(KeyRange keys, const DDEnabledState* ddEnabledState) {
1091 // combine all queued work in the key range and check to see if there is anything to launch
1092 std::set<RelocateData, std::greater<RelocateData>> combined;
1093 auto f = queueMap.intersectingRanges(keys);
1094 for (auto it = f.begin(); it != f.end(); ++it) {
1095 if (it->value().src.size() && queue[it->value().src[0]].count(it->value()))
1096 combined.insert(it->value());
1097 }
1098 launchQueuedWork(combined, ddEnabledState);
1099 }
1100
1101 void launchQueuedWork(const std::set<UID>& serversToLaunchFrom, const DDEnabledState* ddEnabledState) {
1102 // combine all work from the source servers to see if there is anything new to launch

Callers 1

Calls 15

nowFunction · 0.85
canLaunchSrcFunction · 0.85
TraceEventClass · 0.85
deterministicRandomFunction · 0.85
launchFunction · 0.85
intersectingRangesMethod · 0.80
liveActorAtMethod · 0.80
detailMethod · 0.80
containedRangesMethod · 0.80
frontMethod · 0.80
rangeContainingMethod · 0.80

Tested by

no test coverage detected