From f9fe0ef45a097fb32c4368e22c5e3c23c54ad015 Mon Sep 17 00:00:00 2001 From: Slach Date: Tue, 19 Nov 2024 22:50:30 +0400 Subject: [PATCH] fix 20.x low memory configuration Signed-off-by: Slach --- test/integration/dynamic_settings.sh | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/test/integration/dynamic_settings.sh b/test/integration/dynamic_settings.sh index 7ecc6345..e4c5363c 100755 --- a/test/integration/dynamic_settings.sh +++ b/test/integration/dynamic_settings.sh @@ -521,8 +521,31 @@ EOT fi +if [[ "${CLICKHOUSE_VERSION}" =~ ^2[0]\.[1-3] ]]; then -if [[ "${CLICKHOUSE_VERSION}" =~ ^2[0]\. ]]; then +cat < /etc/clickhouse-server/users.d/low_memory_in_usersd.xml + + + + 2 + + + +EOT + +cat < /etc/clickhouse-server/config.d/low_memory_in_configd.xml + + 0 + 0 + 1 + 2 + 1 + round_robin + 2 + +EOT + +elif [[ "${CLICKHOUSE_VERSION}" =~ ^2[0]\.[4-9] ]]; then cat < /etc/clickhouse-server/users.d/low_memory_in_usersd.xml