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

Method is_persisted

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

If return True, the file is persisted. The caller should hold the status lock.

Source from the content-addressed store, hash-verified

249 /// If return True, the file is persisted.
250 /// The caller should hold the status lock.
251 bool is_persisted(const std::unique_lock<SpinLock>& l) {
252 return GetFileStatusLocked(l) == DiskFileStatus::PERSISTED;
253 }
254
255 /// If return True, the file is in writing.
256 /// The caller should hold the status lock.

Callers 1

DoReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected