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

Function when

fdbserver/Resolver.actor.cpp:680–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678
679 loop choose {
680 when(ResolveTransactionBatchRequest batch = waitNext(resolver.resolve.getFuture())) {
681 actors.add(resolveBatch(self, batch, db));
682 }
683 when(ResolutionMetricsRequest req = waitNext(resolver.metrics.getFuture())) {
684 ++self->metricsRequests;
685 req.reply.send(self->iopsSample.getEstimate(SERVER_KNOBS->PROXY_USE_RESOLVER_PRIVATE_MUTATIONS ? normalKeys

Callers 3

Resolver.actor.cppFile · 0.70
Future<Void> resolverFunction · 0.70

Calls 9

delayFunction · 0.85
getEstimateMethod · 0.80
splitEstimateMethod · 0.80
KeyRangeRefClass · 0.50
VoidClass · 0.50
getFutureMethod · 0.45
addMethod · 0.45
sendMethod · 0.45
pollMethod · 0.45

Tested by

no test coverage detected