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

Method Cancel

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

Source from the content-addressed store, hash-verified

2117}
2118
2119void TmpWriteHandle::Cancel() {
2120 CancelRead();
2121 {
2122 unique_lock<mutex> lock(write_state_lock_);
2123 is_cancelled_ = true;
2124 // TODO: in future, if DiskIoMgr supported write cancellation, we could cancel it
2125 // here.
2126 }
2127}
2128
2129void TmpWriteHandle::CancelRead() {
2130 if (read_range_ != nullptr) {

Callers 2

DestroyWriteHandleMethod · 0.45
CancelReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected