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

Method IsAvailableForWrite

be/src/runtime/tuple-cache-mgr.cc:411–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411bool TupleCacheMgr::IsAvailableForWrite(UniqueHandle& handle) const {
412 if (!handle || !handle->cache_handle) return false;
413 return handle->is_writer && TupleCacheState::IN_PROGRESS == GetState(handle.get());
414}
415
416void TupleCacheMgr::CompleteWrite(UniqueHandle handle, size_t size) {
417 DCHECK(enabled_);

Callers 2

OpenMethod · 0.80
TEST_FFunction · 0.80

Calls 1

getMethod · 0.65

Tested by 1

TEST_FFunction · 0.64