ClickHouse/programs/server
filimonov fbb22348ea
Refactor reading the pool setting & from server config. (#48055)
After #36425 there was a lot of confusions/problems with configuring pools - when the message was confusing, and settings need to be ajusted in several places.
See some examples in #44251, #43351, #47900, #46515.

The commit includes the following changes:
1) Introduced a unified mechanism for reading pool sizes from the configuration file(s). Previously, pool sizes were read from the Context.cpp with fallbacks to profiles, whereas main_config_reloader in Server.cpp read them directly without fallbacks.
2) Corrected the data type for background_merges_mutations_concurrency_ratio. It should be float instead of int.
3) Refactored the default values for settings. Previously, they were defined in multiple places throughout the codebase, but they are now defined in one place (or two, to be exact: Settings.h and ServerSettings.h).
4) Improved documentation, including the correct message in system.settings.

Additionally make the code more conform with #46550.
2023-03-30 16:44:11 +02:00
..
config.d Add a test for #29883 2022-12-18 08:00:32 +01:00
js Add a file 2022-08-21 12:11:04 +02:00
users.d Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
.gitignore Update gitignore 2021-04-20 23:39:41 +03:00
clickhouse-server.cpp Remove dlopen 2022-09-17 03:02:34 +02:00
CMakeLists.txt fix memory leak in azure sdk 2023-01-31 01:01:10 +00:00
config.xml Query cache: Fix config naming ambiguity 2023-03-24 12:52:09 +00:00
config.yaml.example Fix certs (finishing pr #36457) (#36747) 2022-05-01 12:59:19 +02:00
dashboard.html fix layout issues in dashboard.html 2023-02-21 13:52:28 -05:00
embedded.xml Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
MetricsTransmitter.cpp Merge branch 'master' into keeper-prometheus 2022-11-15 12:00:02 +00:00
MetricsTransmitter.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
play.html Fix automatic indentation in the built-in UI SQL editor 2023-03-27 12:53:31 +02:00
Server.cpp Refactor reading the pool setting & from server config. (#48055) 2023-03-30 16:44:11 +02:00
Server.h Add more metrics for Keeper 2022-11-09 15:51:41 +01:00
users.xml Merge pull request #40713 from ClickHouse/remove-useless-line 2022-09-11 09:53:30 +03:00
users.yaml.example Update examples and remove obsolete embedded dictionaries from configs 2022-04-03 01:21:48 +02:00