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

Method TryDeleteReadBufferExcl

be/src/runtime/tmp-file-mgr-internal.h:252–255  ·  view source on GitHub ↗

Try to delete the buffer block and release the reservation with exclusive lock.

Source from the content-addressed store, hash-verified

250
251 /// Try to delete the buffer block and release the reservation with exclusive lock.
252 void TryDeleteReadBufferExcl(int buffer_idx) {
253 std::unique_lock<boost::shared_mutex> lock(*(disk_buffer_file_->GetFileLock()));
254 TryDeleteReadBuffer(lock, buffer_idx);
255 }
256
257 /// Try to delete the buffer block and release the reservation with shared lock.
258 /// Use the exclusive one unless sure that no one else would access the specific

Callers 1

Calls 1

GetFileLockMethod · 0.80

Tested by

no test coverage detected