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

Method ReleaseTmpFileReadBuffer

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

Source from the content-addressed store, hash-verified

531}
532
533void TmpFileMgr::ReleaseTmpFileReadBuffer(
534 const unique_lock<shared_mutex>& file_lock, TmpFile* tmp_file) {
535 DCHECK(tmp_file != nullptr);
536 DCHECK(IsRemoteBatchReadingEnabled());
537 TmpFileRemote* tmp_file_remote = static_cast<TmpFileRemote*>(tmp_file);
538 for (int i = 0; i < GetNumReadBuffersPerFile(); i++) {
539 tmp_file_remote->TryDeleteReadBuffer(file_lock, i);
540 }
541}
542
543Status TmpFileMgr::TryEvictFile(TmpFile* tmp_file) {
544 DCHECK(tmp_file != nullptr);

Callers 1

RemoveMethod · 0.80

Calls 1

TryDeleteReadBufferMethod · 0.80

Tested by

no test coverage detected