mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
Update FileCacheSettings.cpp
This commit is contained in:
parent
a2ed756eec
commit
fdf5cfdec0
@ -58,7 +58,7 @@ void FileCacheSettings::loadImpl(FuncHas has, FuncGetUInt get_uint, FuncGetStrin
|
|||||||
|
|
||||||
if (has("load_metadata_threads"))
|
if (has("load_metadata_threads"))
|
||||||
load_metadata_threads = get_uint("load_metadata_threads");
|
load_metadata_threads = get_uint("load_metadata_threads");
|
||||||
|
|
||||||
if (boundary_alignment > max_file_segment_size)
|
if (boundary_alignment > max_file_segment_size)
|
||||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Setting `boundary_alignment` cannot exceed `max_file_segment_size`");
|
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Setting `boundary_alignment` cannot exceed `max_file_segment_size`");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user