ClickHouse/programs
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
..
bash-completion Update available formats for bash completion 2022-08-28 17:22:32 +02:00
benchmark ThreadPool metrics introspection 2023-03-29 10:46:59 +02:00
client Better 2023-02-22 16:51:36 +01:00
compressor Make better 2023-03-06 19:34:36 +00:00
copier ThreadPool metrics introspection 2023-03-29 10:46:59 +02:00
diagnostics chore: bump testcontainers-go to 0.18.0 2023-02-17 11:03:26 +01:00
disks Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
extract-from-config Remove dlopen 2022-09-17 03:02:34 +02:00
format Merge branch 'master' into add-support-for-settings-alias 2023-02-01 09:01:01 +00:00
git-import Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
install Add options --link and -y to clickhouse install 2023-03-22 12:53:22 +00:00
keeper Fix clang-tidy build 2023-03-29 07:38:37 +00:00
keeper-converter Remove dlopen 2022-09-17 03:02:34 +02:00
library-bridge fix Unknown library method 'extDict_libClone' 2023-03-02 15:53:09 +03:00
local Cleanup: Untangle CacheBase's constructors 2023-03-13 15:11:12 +00:00
obfuscator Update README.md 2023-03-28 01:05:10 +03:00
odbc-bridge CMake: More removal of gold linker (follow-up to #47660) 2023-03-17 11:01:46 +00:00
self-extracting add native build for cross-compilation 2022-07-20 23:09:05 -04:00
server Refactor reading the pool setting & from server config. (#48055) 2023-03-30 16:44:11 +02:00
static-files-disk-uploader Fix integration tests 2022-09-26 12:49:20 +02:00
su Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
CMakeLists.txt CMake: More removal of gold linker (follow-up to #47660) 2023-03-17 11:01:46 +00:00
config_tools.h.in Make comment consistent accross generated files 2022-09-28 08:11:09 +00:00
embed_binary.S.in Adds a better way to include binary resources 2021-06-09 14:03:30 -07:00
main.cpp fix init 2023-01-30 17:07:01 +01:00