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

Method GetClusterMemoryToAdmit

be/src/scheduling/schedule-state.cc:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239int64_t ScheduleState::GetClusterMemoryToAdmit() const {
240 // There will always be an entry for the coordinator in per_backend_schedule_states_.
241 return query_schedule_pb_->per_backend_mem_to_admit()
242 * (per_backend_schedule_states_.size() - 1)
243 + coord_backend_mem_to_admit();
244}
245
246bool ScheduleState::UseDedicatedCoordEstimates() const {
247 for (const auto& itr : per_backend_schedule_states_) {

Callers 5

AdmitQueryAndMemoryMethod · 0.80
RejectForScheduleMethod · 0.80
AdmitQueryMethod · 0.80
TEST_FFunction · 0.80

Calls 2

sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64