mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
fix
This commit is contained in:
parent
deb0e2f199
commit
c258508610
@ -1619,7 +1619,6 @@ void registerDictionarySSDCache(DictionaryFactory & factory)
|
||||
const auto max_partitions_count = config.getInt(layout_prefix + ".ssd_cache.max_partitions_count", DEFAULT_PARTITIONS_COUNT);
|
||||
if (max_partitions_count <= 0)
|
||||
throw Exception{name + ": dictionary of layout 'ssd_cache' cannot have 0 (or less) max_partitions_count", ErrorCodes::BAD_ARGUMENTS};
|
||||
max_partitions_count = 1;
|
||||
|
||||
const auto block_size = config.getInt(layout_prefix + ".ssd_cache.block_size", DEFAULT_SSD_BLOCK_SIZE);
|
||||
if (block_size <= 0)
|
||||
|
@ -1733,7 +1733,6 @@ void registerDictionarySSDComplexKeyCache(DictionaryFactory & factory)
|
||||
const auto max_partitions_count = config.getInt(layout_prefix + ".complex_key_ssd_cache.max_partitions_count", DEFAULT_PARTITIONS_COUNT);
|
||||
if (max_partitions_count <= 0)
|
||||
throw Exception{name + ": dictionary of layout 'complex_key_ssd_cache' cannot have 0 (or less) max_partitions_count", ErrorCodes::BAD_ARGUMENTS};
|
||||
max_partitions_count = 1;
|
||||
|
||||
const auto block_size = config.getInt(layout_prefix + ".complex_key_ssd_cache.block_size", DEFAULT_SSD_BLOCK_SIZE);
|
||||
if (block_size <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user