We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cae0a0 commit 4d27a6bCopy full SHA for 4d27a6b
be/src/runtime/memory/lru_cache_policy.h
@@ -257,6 +257,7 @@ class LRUCachePolicy : public CachePolicy {
257
if (!_enable_prune) {
258
LOG(INFO) << "[MemoryGC] " << type_string(_type)
259
<< " cache prune disabled, so could not adjust capacity to free memory";
260
+ return 0;
261
}
262
size_t old_capacity = get_capacity();
263
int64_t old_mem_consumption = mem_consumption();
0 commit comments