mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
ArrayCache: development [#CLICKHOUSE-2].
This commit is contained in:
parent
5ededd6b51
commit
1005236a09
@ -446,8 +446,10 @@ public:
|
||||
{
|
||||
std::lock_guard<std::mutex> cache_lock(mutex);
|
||||
|
||||
for (auto & elem : adjacency_list)
|
||||
elem.destroy();
|
||||
key_map.clear();
|
||||
lru_list.clear();
|
||||
size_multimap.clear();
|
||||
adjacency_list.clear_and_dispose([](RegionMetadata * elem) { elem->destroy(); });
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user