MCPcopy Create free account
hub / github.com/apache/impala / GetDistributionMap

Method GetDistributionMap

be/src/scheduling/hash-ring-test.cc:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33class HashRingTest : public ::testing::Test {
34 protected:
35 void GetDistributionMap(const HashRing& hash_ring,
36 std::map<IpAddr, uint64_t>* distribution_map) {
37 return hash_ring.GetDistributionMap(distribution_map);
38 }
39
40 // Verify the specified hash ring has the appropriate number of nodes and replicas.
41 // This assumes no collisions. If there are collisions, the total replicas will be

Callers 2

VerifyTotalAllocationMethod · 0.45
VerifyMaxMinRatioMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected