Skip to content

Commit 002c7df

Browse files
nikitamikhaylovAlgunenano
authored andcommitted
Disable connections and queries drop by default
(cherry picked from commit dcb08b7)
1 parent 89b7423 commit 002c7df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Core/Settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6505,8 +6505,8 @@ File/S3 engines/table function will parse paths with '::' as `<archive> :: <file
65056505
DECLARE(Milliseconds, low_priority_query_wait_time_ms, 1000, R"(
65066506
When the query prioritization mechanism is employed (see setting `priority`), low-priority queries wait for higher-priority queries to finish. This setting specifies the duration of waiting.
65076507
)", BETA) \
6508-
DECLARE(Float, min_os_cpu_wait_time_ratio_to_throw, 2.0, "Min ratio between OS CPU wait (OSCPUWaitMicroseconds metric) and busy (OSCPUVirtualTimeMicroseconds metric) times to consider rejecting queries. Linear interpolation between min and max ratio is used to calculate the probability, the probability is 0 at this point.", 0) \
6509-
DECLARE(Float, max_os_cpu_wait_time_ratio_to_throw, 6.0, "Max ratio between OS CPU wait (OSCPUWaitMicroseconds metric) and busy (OSCPUVirtualTimeMicroseconds metric) times to consider rejecting queries. Linear interpolation between min and max ratio is used to calculate the probability, the probability is 1 at this point.", 0) \
6508+
DECLARE(Float, min_os_cpu_wait_time_ratio_to_throw, 0.0, "Min ratio between OS CPU wait (OSCPUWaitMicroseconds metric) and busy (OSCPUVirtualTimeMicroseconds metric) times to consider rejecting queries. Linear interpolation between min and max ratio is used to calculate the probability, the probability is 0 at this point.", 0) \
6509+
DECLARE(Float, max_os_cpu_wait_time_ratio_to_throw, 0.0, "Max ratio between OS CPU wait (OSCPUWaitMicroseconds metric) and busy (OSCPUVirtualTimeMicroseconds metric) times to consider rejecting queries. Linear interpolation between min and max ratio is used to calculate the probability, the probability is 1 at this point.", 0) \
65106510
\
65116511
/* ####################################################### */ \
65126512
/* ########### START OF EXPERIMENTAL FEATURES ############ */ \

src/Core/SettingsChangesHistory.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ const VersionToSettingsChangesMap & getSettingsChangesHistory()
104104
{"cast_string_to_variant_use_inference", true, true, "New setting to enable/disable types inference during CAST from String to Variant"},
105105
{"distributed_cache_read_request_max_tries", 20, 20, "New setting"},
106106
{"query_condition_cache_store_conditions_as_plaintext", false, false, "New setting"},
107-
{"min_os_cpu_wait_time_ratio_to_throw", 0, 2, "New setting"},
108-
{"max_os_cpu_wait_time_ratio_to_throw", 0, 6, "New setting"},
107+
{"min_os_cpu_wait_time_ratio_to_throw", 0, 0, "New setting"},
108+
{"max_os_cpu_wait_time_ratio_to_throw", 0, 0, "New setting"},
109109
{"query_plan_merge_filter_into_join_condition", false, true, "Added new setting to merge filter into join condition"},
110110
{"use_local_cache_for_remote_storage", true, false, "Obsolete setting."},
111111
{"iceberg_timestamp_ms", 0, 0, "New setting."},

0 commit comments

Comments
 (0)