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

Method CancelRead

be/src/runtime/tmp-file-mgr.cc:2129–2135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2127}
2128
2129void TmpWriteHandle::CancelRead() {
2130 if (read_range_ != nullptr) {
2131 read_range_->Cancel(Status::CancelledInternal("TmpFileMgr read"));
2132 read_range_ = nullptr;
2133 FreeCompressedBuffer();
2134 }
2135}
2136
2137void TmpWriteHandle::WaitForWrite() {
2138 unique_lock<mutex> lock(write_state_lock_);

Callers 2

DestroyPageMethod · 0.80

Calls 1

CancelMethod · 0.45

Tested by

no test coverage detected