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

Method GetFragmentIdForTupleCache

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

Source from the content-addressed store, hash-verified

556}
557
558string TupleCacheMgr::GetFragmentIdForTupleCache(const string& cache_key) {
559 std::lock_guard<std::mutex> l(debug_dump_lock_);
560 auto iter = debug_dump_caches_metadata_.find(cache_key);
561 if (iter == debug_dump_caches_metadata_.end()) {
562 return string();
563 }
564 return iter->second.fragment_id;
565}
566
567void TupleCacheMgr::RemoveMetadataForTupleCache(const string& cache_key) {
568 std::lock_guard<std::mutex> l(debug_dump_lock_);

Callers 1

OpenMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected