Better message

This commit is contained in:
alesapin 2020-09-18 10:46:23 +03:00
parent e6914acb3b
commit 96a693baec

View File

@ -82,7 +82,7 @@ void MergeTreeSettings::sanityCheck(const Settings & query_settings) const
throw Exception(ErrorCodes::BAD_ARGUMENTS, "The value of 'number_of_free_entries_in_pool_to_execute_mutation' setting" throw Exception(ErrorCodes::BAD_ARGUMENTS, "The value of 'number_of_free_entries_in_pool_to_execute_mutation' setting"
" ({}) (default values are defined in <merge_tree> section of config.xml" " ({}) (default values are defined in <merge_tree> section of config.xml"
" or the value can be specified per table in SETTINGS section of CREATE TABLE query)" " or the value can be specified per table in SETTINGS section of CREATE TABLE query)"
" is greater the value of 'background_pool_size'" " is greater than the value of 'background_pool_size'"
" ({}) (the value is defined in users.xml for default profile)." " ({}) (the value is defined in users.xml for default profile)."
" This indicates incorrect configuration because mutations cannot work with these settings.", " This indicates incorrect configuration because mutations cannot work with these settings.",
number_of_free_entries_in_pool_to_execute_mutation, number_of_free_entries_in_pool_to_execute_mutation,
@ -94,7 +94,7 @@ void MergeTreeSettings::sanityCheck(const Settings & query_settings) const
throw Exception(ErrorCodes::BAD_ARGUMENTS, "The value of 'number_of_free_entries_in_pool_to_lower_max_size_of_merge' setting" throw Exception(ErrorCodes::BAD_ARGUMENTS, "The value of 'number_of_free_entries_in_pool_to_lower_max_size_of_merge' setting"
" ({}) (default values are defined in <merge_tree> section of config.xml" " ({}) (default values are defined in <merge_tree> section of config.xml"
" or the value can be specified per table in SETTINGS section of CREATE TABLE query)" " or the value can be specified per table in SETTINGS section of CREATE TABLE query)"
" is greater the value of 'background_pool_size'" " is greater than the value of 'background_pool_size'"
" ({}) (the value is defined in users.xml for default profile)." " ({}) (the value is defined in users.xml for default profile)."
" This indicates incorrect configuration because the maximum size of merge will be always lowered.", " This indicates incorrect configuration because the maximum size of merge will be always lowered.",
number_of_free_entries_in_pool_to_lower_max_size_of_merge, number_of_free_entries_in_pool_to_lower_max_size_of_merge,