Commit forgotten file

This commit is contained in:
kssenii 2023-12-11 13:28:36 +01:00
parent 02d19fa7ef
commit b8caa00d24

View File

@ -44,9 +44,11 @@ void StorageSystemFilesystemCache::fillData(MutableColumns & res_columns, Contex
for (const auto & [cache_name, cache_data] : caches)
{
const auto & cache = cache_data->cache;
const auto file_segments = cache->getFileSegmentInfos();
for (const auto & file_segment : file_segments)
auto iterator = cache->iterate();
while (auto metadata = iterator.next())
{
const auto & file_segment = metadata->getFileSegmentInfo();
size_t i = 0;
res_columns[i++]->insert(cache_name);
res_columns[i++]->insert(cache->getBasePath());