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

Method ScheduleScanRange

be/src/runtime/io/request-context.cc:845–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845void RequestContext::ScheduleScanRange(
846 const std::unique_lock<std::mutex>& lock, ScanRange* range) {
847 DCHECK(lock.mutex() == &lock_ && lock.owns_lock());
848 DCHECK_EQ(state_, Active);
849 DCHECK(range != nullptr);
850 RequestContext::PerDiskState& state = disk_states_[range->disk_id()];
851 state.in_flight_ranges()->Enqueue(range);
852 state.ScheduleContext(lock, this, range->disk_id());
853}

Callers

nothing calls this directly

Calls 6

owns_lockMethod · 0.80
in_flight_rangesMethod · 0.80
ScheduleContextMethod · 0.80
mutexMethod · 0.45
disk_idMethod · 0.45
EnqueueMethod · 0.45

Tested by

no test coverage detected