From 0c4f32a4c0d95c8a4a283683e42002119ac50ee1 Mon Sep 17 00:00:00 2001 From: Artem Konovalov Date: Wed, 19 Jun 2019 18:02:51 +0300 Subject: [PATCH] add description for insert_distributed_timeout --- CHANGELOG.md | 2 +- CHANGELOG_RU.md | 2 +- dbms/src/Core/Settings.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3bb2300021..da59934ee47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1877,7 +1877,7 @@ This release contains bug fixes for the previous release 1.1.54276: - cleanup_delay_period sets how often to start cleanup to remove outdated data. - replicated_can_become_leader can prevent a replica from becoming the leader (and assigning merges). * Accelerated cleanup to remove outdated data from ZooKeeper. -* Multiple improvements and fixes for clustered DDL queries. Of particular interest is the new setting distributed_ddl_task_timeout, which limits the time to wait for a response from the servers in the cluster. +* Multiple improvements and fixes for clustered DDL queries. Of particular interest is the new setting distributed_ddl_task_timeout, which limits the time to wait for a response from the servers in the cluster. If a ddl request has not been performed on all hosts, a response will contain a timeout error and a request will be executed in an async mode. * Improved display of stack traces in the server logs. * Added the "none" value for the compression method. * You can use multiple dictionaries_config sections in config.xml. diff --git a/CHANGELOG_RU.md b/CHANGELOG_RU.md index dfb96c348e9..c77ca600946 100644 --- a/CHANGELOG_RU.md +++ b/CHANGELOG_RU.md @@ -1826,7 +1826,7 @@ Kutenin](https://github.com/danlark1)) - cleanup_delay_period - периодичность запуска очистки неактуальных данных - replicated_can_become_leader - запретить реплике становиться лидером (и назначать мержи) * Ускорена очистка неактуальных данных из ZooKeeper -* Множественные улучшения и исправления работы кластерных DDL запросов. В частности, добавлена настройка distributed_ddl_task_timeout, ограничивающая время ожидания ответов серверов кластера. +* Множественные улучшения и исправления работы кластерных DDL запросов. В частности, добавлена настройка distributed_ddl_task_timeout, ограничивающая время ожидания ответов серверов кластера. Если запрос не успел выполниться на всех нодах в установленное время, ответ будет содержать timeout ошибку и дальнейшее выполнение этого запроса будет происходить в асинхронном режиме * Улучшено отображение стэктрейсов в логах сервера * Добавлен метод сжатия none * Возможность использования нескольких секций dictionaries_config в config.xml diff --git a/dbms/src/Core/Settings.h b/dbms/src/Core/Settings.h index 0cd132ef9ed..b98b66a50a1 100644 --- a/dbms/src/Core/Settings.h +++ b/dbms/src/Core/Settings.h @@ -205,7 +205,7 @@ struct Settings : public SettingsCollection \ M(SettingBool, insert_distributed_sync, false, "If setting is enabled, insert query into distributed waits until data will be sent to all nodes in cluster.") \ M(SettingUInt64, insert_distributed_timeout, 0, "Timeout for insert query into distributed. Setting is used only with insert_distributed_sync enabled. Zero value means no timeout.") \ - M(SettingInt64, distributed_ddl_task_timeout, 180, "Timeout for DDL query responses from all hosts in cluster. Negative value means infinite.") \ + M(SettingInt64, distributed_ddl_task_timeout, 180, "Timeout for DDL query responses from all hosts in cluster. If a ddl request has not been performed on all hosts, a response will contain a timeout error and a request will be executed in an async mode. Negative value means infinite.") \ M(SettingMilliseconds, stream_flush_interval_ms, 7500, "Timeout for flushing data from streaming storages.") \ M(SettingMilliseconds, stream_poll_timeout_ms, 500, "Timeout for polling data from streaming storages.") \ M(SettingString, format_schema, "", "Schema identifier (used by schema-based formats)") \