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

Method RelocateData

fdbserver/DataDistributionQueue.actor.cpp:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 std::shared_ptr<DataMove> dataMove;
138
139 RelocateData()
140 : priority(-1), boundaryPriority(-1), healthPriority(-1), reason(RelocateReason::OTHER), startTime(-1),
141 dataMoveId(anonymousShardId), workFactor(0), wantsNewServers(false), cancellable(false),
142 interval("QueuedRelocation") {}
143 explicit RelocateData(RelocateShard const& rs)
144 : keys(rs.keys), priority(rs.priority), boundaryPriority(isBoundaryPriority(rs.priority) ? rs.priority : -1),
145 healthPriority(isHealthPriority(rs.priority) ? rs.priority : -1), reason(rs.reason), startTime(now()),

Callers

nothing calls this directly

Calls 9

nowFunction · 0.85
deterministicRandomFunction · 0.85
randomUniqueIDMethod · 0.80
isValidMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected