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

Method GetFileStatus

be/src/runtime/io/disk-file.h:288–291  ·  view source on GitHub ↗

Returns the status of the file. The caller should not hold the status lock.

Source from the content-addressed store, hash-verified

286 /// Returns the status of the file.
287 /// The caller should not hold the status lock.
288 DiskFileStatus GetFileStatus() {
289 std::unique_lock<SpinLock> l(status_lock_);
290 return GetFileStatusLocked(l);
291 }
292
293 DiskFileStatus GetFileStatusLocked(const std::unique_lock<SpinLock>& status_lock) {
294 DCHECK(status_lock.mutex() == &status_lock_ && status_lock.owns_lock());

Callers 8

TryEvictFileMethod · 0.80
GetReadBufferFileMethod · 0.80
RemoveMethod · 0.80
WaitForDiskFileStatusMethod · 0.80
WaitForStatusMethod · 0.80
TEST_FFunction · 0.80
DoUploadMethod · 0.80
DoFetchMethod · 0.80

Calls

no outgoing calls

Tested by 3

WaitForDiskFileStatusMethod · 0.64
WaitForStatusMethod · 0.64
TEST_FFunction · 0.64