mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fix
This commit is contained in:
parent
5c4c2a3982
commit
7df815d280
@ -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});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user