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

Method AddWriteRange

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

Source from the content-addressed store, hash-verified

565}
566
567Status RequestContext::AddWriteRange(WriteRange* write_range) {
568 unique_lock<mutex> lock(lock_);
569 if (state_ == RequestContext::Cancelled) return CONTEXT_CANCELLED;
570 write_range->SetRequestContext(this);
571 AddRangeToDisk(lock, write_range, ScheduleMode::IMMEDIATELY);
572 return Status::OK();
573}
574
575Status RequestContext::AddRemoteOperRange(RemoteOperRange* oper_range) {
576 unique_lock<mutex> lock(lock_);

Callers 4

AsyncWriteRangeMethod · 0.45
RetryWriteMethod · 0.45
MoveWriteRangesHelperMethod · 0.45
EnqueueWriteRangeMethod · 0.45

Calls 2

OKFunction · 0.85
SetRequestContextMethod · 0.80

Tested by

no test coverage detected