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

Function dropRequestFromQueue

fdbserver/GrvProxyServer.actor.cpp:534–537  ·  view source on GitHub ↗

Drop a GetReadVersion request from a queue, by responding an error to the request.

Source from the content-addressed store, hash-verified

532
533// Drop a GetReadVersion request from a queue, by responding an error to the request.
534void dropRequestFromQueue(Deque<GetReadVersionRequest>* queue, GrvProxyStats* stats) {
535 proxyGRVThresholdExceeded(&queue->front(), stats);
536 queue->pop_front();
537}
538
539// Put a GetReadVersion request into the queue corresponding to its priority.
540ACTOR Future<Void> queueGetReadVersionRequests(

Callers 1

whenFunction · 0.85

Calls 3

frontMethod · 0.80
pop_frontMethod · 0.45

Tested by

no test coverage detected