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

Method is_deleted

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

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

Source from the content-addressed store, hash-verified

261 /// If return True, the file is deleted.
262 /// The caller should hold the status lock.
263 bool is_deleted(const std::unique_lock<SpinLock>& l) {
264 return GetFileStatusLocked(l) == DiskFileStatus::DELETED;
265 }
266
267 /// If True, the file is to be deleted.
268 bool is_to_delete() { return to_delete_.Load(); }

Callers 1

DoReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected