ClickHouse/tests
Azat Khuzhin b5a5778589 Distributed: Add ability to limit amount of pending bytes for async INSERT
Right now with distributed_directory_monitor_batch_inserts=1 and
insert_distributed_sync=0 INSERT into Distributed table will store
blocks that should be sent to remote (and in case of
prefer_localhost_replica=0 to the localhost too) on the local
filesystem, and sent it in background.

However there is no limit for this storage, and if the remote is
unavailable (or some other error), these pending blocks may take
significant space, and this is not always desired behaviour.

Add new Distributed setting - bytes_to_throw_insert, that will set the
limit for how much pending bytes is allowed, if the limit will be
reached an exception will be throw.

By default was set to 0, to avoid surprises.
2021-03-03 23:30:00 +03:00
..
ci
config
external_models/catboost
fuzz
instructions
integration Merge pull request #19291 from Avogar/hedged-requests 2021-03-03 12:58:37 +03:00
perf_drafts
performance Merge pull request #21381 from ClickHouse/aku/perf-negative 2021-03-03 15:55:14 +03:00
queries Distributed: Add ability to limit amount of pending bytes for async INSERT 2021-03-03 23:30:00 +03:00
testflows
users.d
.gitignore
clickhouse-client.xml
clickhouse-test
clickhouse-test-server
client-test.xml
CMakeLists.txt
decimals_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt
server-test.xml
stress
strings_dictionary.xml
tsan_suppressions.txt
ubsan_suppressions.txt
users.xml