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

Function when

fdbserver/DataDistributionTracker.actor.cpp:1032–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030
1031 loop choose {
1032 when(Promise<int64_t> req = waitNext(getAverageShardBytes)) {
1033 req.send(self.maxShardSize->get().get() / 2);
1034 }
1035 when(wait(loggingTrigger)) {
1036 TraceEvent("DDTrackerStats", self.distributorId)
1037 .detail("Shards", self.shards.size())

Calls 9

TraceEventClass · 0.85
delayFunction · 0.85
restartShardTrackersFunction · 0.85
detailMethod · 0.80
getMethod · 0.65
sendMethod · 0.45
sizeMethod · 0.45
getFutureMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected