This commit is contained in:
kssenii 2023-06-20 13:33:16 +02:00
parent 5c4c2a3982
commit 7df815d280

View File

@ -400,6 +400,10 @@ void CacheMetadata::downloadThreadFunc()
if (!lock)
continue;
auto file_segment_metadata = lock->tryGetByOffset(file_segment->offset());
if (!file_segment_metadata || file_segment_metadata->evicting())
continue;
holder = std::make_unique<FileSegmentsHolder>(FileSegments{file_segment});
}