ClickHouse/src
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
..
Access support undrop table 2023-03-27 22:16:36 +08:00
AggregateFunctions Fixes 2023-03-28 20:26:21 +00:00
Analyzer Ignore null constants in logical optimizer 2023-03-29 12:37:43 +00:00
Backups Merge pull request #47880 from azat/threadpool-introspection 2023-03-30 01:27:31 +03:00
Bridge Fix clang-tidy 2023-03-25 18:05:09 +00:00
BridgeHelper Fix "Field value too long" in catboostEvaluate() 2023-03-24 11:02:55 +00:00
Client Merge pull request #48150 from DimasKovas/fix_stdlib_compatibility 2023-03-29 21:29:33 +02:00
Columns
Common Merge pull request #47880 from azat/threadpool-introspection 2023-03-30 01:27:31 +03:00
Compression Remove cruft from build 2023-03-17 13:44:04 +00:00
Coordination small fix 2023-03-27 07:41:31 +00:00
Core Refactor reading the pool setting & from server config. (#48055) 2023-03-30 16:44:11 +02:00
Daemon Fix #36971: Watchdog: exit with non-zero code if child process exits 2023-03-24 16:04:09 +03:00
Databases ThreadPool metrics introspection 2023-03-29 10:46:59 +02:00
DataTypes Merge pull request #48133 from ClickHouse/allow-to-skip-errors-of-enums 2023-03-29 23:20:05 +03:00
Dictionaries Merge pull request #47880 from azat/threadpool-introspection 2023-03-30 01:27:31 +03:00
Disks ThreadPool metrics introspection 2023-03-29 10:46:59 +02:00
Formats Limit memory in fuzzers 2023-03-19 06:17:55 +01:00
Functions Merge pull request #47895 from evillique/fix-isipv6-function 2023-03-30 01:45:08 +02:00
Interpreters Refactor reading the pool setting & from server config. (#48055) 2023-03-30 16:44:11 +02:00
IO Merge pull request #47880 from azat/threadpool-introspection 2023-03-30 01:27:31 +03:00
Loggers More tests 2023-03-15 00:38:46 +01:00
Parsers Merge pull request #48150 from DimasKovas/fix_stdlib_compatibility 2023-03-29 21:29:33 +02:00
Planner Merge pull request #47727 from ClickHouse/const-aggregation-key-fix 2023-03-24 19:47:20 +01:00
Processors Merge pull request #47880 from azat/threadpool-introspection 2023-03-30 01:27:31 +03:00
QueryPipeline Fix more cases 2023-03-23 14:52:33 +08:00
Server Some improvements about names of span logs (#47667) 2023-03-29 16:28:36 +02:00
Storages Merge pull request #48102 from ClickHouse/vdimir/25402_storage_merge_explain_graph_crash 2023-03-30 13:54:22 +03:00
TableFunctions Merge remote-tracking branch 'upstream/master' into named-collections-finish 2023-03-17 13:02:36 +01:00
CMakeLists.txt only link arrow lib if it exists, same for ut 2023-03-27 09:22:07 -03:00
configure_config.cmake
NOTICE