mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix
This commit is contained in:
parent
d837aa675f
commit
5d8b1cea91
@ -347,7 +347,7 @@ void FileCache::fillHolesWithEmptyFileSegments(
|
||||
++it;
|
||||
}
|
||||
|
||||
if (file_segments.size() >= file_segments_limit)
|
||||
if (file_segments_limit && file_segments.size() >= file_segments_limit)
|
||||
return;
|
||||
|
||||
if (current_pos <= range.right)
|
||||
|
@ -22,6 +22,7 @@ SETTINGS min_bytes_for_wide_part = 0,
|
||||
type = cache,
|
||||
max_size = '128Mi',
|
||||
max_file_segment_size = '10Ki',
|
||||
boundary_alignment = '5Ki',
|
||||
path = '${CLICKHOUSE_TEST_UNIQUE_NAME}',
|
||||
cache_on_write_operations = 1,
|
||||
enable_filesystem_query_cache_limit = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user