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

Function getDestWorkFactor

fdbserver/DataDistributionQueue.actor.cpp:413–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413int getDestWorkFactor() {
414 // Work of moving a shard is even across destination servers
415 return WORK_FULL_UTILIZATION / SERVER_KNOBS->RELOCATION_PARALLELISM_PER_DEST_SERVER;
416}
417
418// Data movement's resource control: Do not overload servers used for the RelocateData
419// return true if servers are not too busy to launch the relocation

Callers 3

canLaunchDestFunction · 0.85
launchDestFunction · 0.85
completeDestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected