ClickHouse/src/Storages
Azat Khuzhin 3b2ceee753 Apply connection timeouts settings for Distributed async INSERT from the query
Previosly connection related settings (connect_timeout_with_failover_ms,
connect_timeout_with_failover_secure_ms) was applied from the query only
for the case insert_distributed_sync=1, and in case of async INSERT it
uses global settings.

Note that this changes how connections is allocated, so now
split_batch_on_failure will create it's own connection, and this can
introduce more duplicates since in case of split_batch_on_failure is
enabled it may send files to different server, but this should not be a
problem because:
- it does not resend batch if it has only one file, when deduplication
  will work
- and in all other cases deduplication will not work since checksum
  should be different

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-11 09:54:07 +01:00
..
Cache Generate config.h into ${CONFIG_INCLUDE_PATH} 2022-09-28 12:48:26 +00:00
Distributed Apply connection timeouts settings for Distributed async INSERT from the query 2022-11-11 09:54:07 +01:00
examples Fix -Wshorten-64-to-32 in examples 2022-10-21 13:25:43 +02:00
FileLog Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
fuzzers Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
HDFS Merge pull request #41979 from Avogar/s3-cluster-schema-inference 2022-11-01 14:00:21 +01:00
Hive Review fixes 2022-10-21 22:40:13 +02:00
Kafka fix(typo): Passible -> Possible 2022-11-03 11:25:07 -03:00
LiveView Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
MeiliSearch Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
MergeTree Revert "Optimize TTL merge, completely expired parts can be removed in time" 2022-11-10 19:38:55 +03:00
MySQL Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
NATS Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
PostgreSQL Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
RabbitMQ Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
RocksDB Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
System Merge pull request #42708 from ClickHouse/42414_Enable_functions_in_readonly_mode 2022-11-08 15:22:31 +01:00
tests Remove cruft 2022-09-17 22:16:31 +02:00
WindowView Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
addColumnsStructureToQueryWithClusterEngine.cpp Fix style 2022-10-19 21:48:01 +02:00
addColumnsStructureToQueryWithClusterEngine.h Make better 2022-10-18 13:03:55 +00:00
AlterCommands.cpp Update AlterCommands.cpp 2022-10-19 00:25:21 +03:00
AlterCommands.h
checkAndGetLiteralArgument.cpp address comments 2022-08-17 23:25:42 +08:00
checkAndGetLiteralArgument.h Fix style 2022-06-27 13:56:43 +00:00
CheckResults.h
CMakeLists.txt
ColumnDefault.cpp
ColumnDefault.h
ColumnDependency.h
ColumnsDescription.cpp abort instead of __builtin_unreachable in debug builds 2022-10-07 21:49:08 +02:00
ColumnsDescription.h Cleanups 2022-07-24 12:21:18 +02:00
CompressionCodecSelector.h
ConstraintsDescription.cpp
ConstraintsDescription.h
DataDestinationType.h
ExecutableSettings.cpp
ExecutableSettings.h
ExternalDataSourceConfiguration.cpp s3 header auth in ast 2022-09-13 15:13:28 +02:00
ExternalDataSourceConfiguration.h Merge branch 'master' into keeper-upload-snapshot-to-s3 2022-09-27 07:28:26 +00:00
extractKeyExpressionList.cpp
extractKeyExpressionList.h
Freeze.cpp Remove unused parameter 2022-10-21 14:35:37 +02:00
Freeze.h fix underscore 2022-08-23 13:59:02 +03:00
getStructureOfRemoteTable.cpp Merge branch 'master' into dynamic-columns-14 2022-10-31 16:15:19 +01:00
getStructureOfRemoteTable.h add more comments 2022-03-01 19:32:55 +03:00
getVirtualsForStorage.cpp
getVirtualsForStorage.h
HeaderCollection.h s3 header auth in ast 2022-09-13 15:13:28 +02:00
IndicesDescription.cpp
IndicesDescription.h
IStorage_fwd.h
IStorage.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
IStorage.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
KeyDescription.cpp
KeyDescription.h
KVStorageUtils.cpp Extract common KV storage logic 2022-08-16 09:32:01 +00:00
KVStorageUtils.h Extract common KV storage logic 2022-08-16 09:32:01 +00:00
LightweightDeleteDescription.cpp Capitalized const name 2022-07-25 16:32:16 +02:00
LightweightDeleteDescription.h Capitalized const name 2022-07-25 16:32:16 +02:00
MarkCache.h Fix review 2022-08-08 21:34:24 +00:00
MemorySettings.cpp
MemorySettings.h
MutationCommands.cpp
MutationCommands.h
PartitionCommands.cpp
PartitionCommands.h Fix typos with new codespell 2022-09-02 08:54:48 +00:00
PartitionedSink.cpp
PartitionedSink.h
ProjectionsDescription.cpp Fix building aggregate projections when external aggregation is on (#39671) 2022-08-04 23:29:26 +02:00
ProjectionsDescription.h
ReadFinalForExternalReplicaStorage.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
ReadFinalForExternalReplicaStorage.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
ReadInOrderOptimizer.cpp Merge pull request #41701 from CurtizJ/fix-monotonic-order-by 2022-09-30 17:32:37 +02:00
ReadInOrderOptimizer.h better support of read_in_order in case of fixed prefix of sorting key 2022-07-01 16:45:01 +00:00
registerStorages.cpp Merge branch 'master' into hudi 2022-11-03 19:29:23 +00:00
registerStorages.h
SelectQueryDescription.cpp
SelectQueryDescription.h Replace all Context references with std::weak_ptr (#22297) 2021-04-11 02:33:54 +03:00
SelectQueryInfo.h Merge pull request #42580 from hanfei1991/fei/limit_max_rows 2022-10-26 14:09:59 +02:00
SetSettings.cpp
SetSettings.h
StorageBuffer.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageBuffer.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageDelta.cpp Minor changes 2022-11-07 12:45:26 +01:00
StorageDelta.h Apply clang-format 2022-11-04 20:51:44 +00:00
StorageDictionary.cpp Added JOIN support for different algorithm 2022-10-24 10:22:21 +02:00
StorageDictionary.h Added JOIN support for different algorithm 2022-10-24 10:22:21 +02:00
StorageDistributed.cpp Merge branch 'master' into dynamic-columns-14 2022-10-31 16:15:19 +01:00
StorageDistributed.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageExecutable.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageExecutable.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageExternalDistributed.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageExternalDistributed.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageFactory.cpp
StorageFactory.h
StorageFile.cpp Merge branch 'master' into 36316_Support_glob_for_recursive_directory_traversal 2022-10-24 18:34:19 +02:00
StorageFile.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageGenerateRandom.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageGenerateRandom.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageHudi.cpp Update StorageHudi.cpp 2022-11-07 23:07:00 +01:00
StorageHudi.h Minor changes 2022-11-07 12:45:26 +01:00
StorageInMemoryMetadata.cpp Try to fix tests 2022-08-21 09:23:37 +00:00
StorageInMemoryMetadata.h remove useless code 2022-10-12 03:48:37 +00:00
StorageInput.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageInput.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageJoin.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageJoin.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageKeeperMap.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageKeeperMap.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageLog.cpp Merge branch 'master' into dynamic-columns-14 2022-10-31 16:15:19 +01:00
StorageLog.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageLogSettings.cpp
StorageLogSettings.h
StorageMaterializedMySQL.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMaterializedMySQL.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMaterializedView.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMaterializedView.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMemory.cpp Merge branch 'master' into dynamic-columns-14 2022-10-31 16:15:19 +01:00
StorageMemory.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMerge.cpp Fix test. 2022-10-26 17:49:36 +00:00
StorageMerge.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMergeTree.cpp Revert "Optimize TTL merge, completely expired parts can be removed in time" 2022-11-10 19:38:55 +03:00
StorageMergeTree.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMongoDB.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMongoDB.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMongoDBSocketFactory.cpp Generate config.h into ${CONFIG_INCLUDE_PATH} 2022-09-28 12:48:26 +00:00
StorageMongoDBSocketFactory.h
StorageMySQL.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageMySQL.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageNull.cpp
StorageNull.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StoragePostgreSQL.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StoragePostgreSQL.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageProxy.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageReplicatedMergeTree.cpp Revert " Keeper retries during insert (clean)" 2022-11-10 14:12:24 +03:00
StorageReplicatedMergeTree.h Revert " Keeper retries during insert (clean)" 2022-11-10 14:12:24 +03:00
StorageS3.cpp Merge branch 'master' into mask-sensitive-info-in-logs 2022-11-02 16:26:13 +01:00
StorageS3.h Merge branch 'master' into hudi 2022-11-03 19:29:23 +00:00
StorageS3Cluster.cpp Merge pull request #41979 from Avogar/s3-cluster-schema-inference 2022-11-01 14:00:21 +01:00
StorageS3Cluster.h Merge pull request #41979 from Avogar/s3-cluster-schema-inference 2022-11-01 14:00:21 +01:00
StorageS3Settings.cpp Add max limitation for the size of an uploaded part. 2022-11-02 17:53:54 +01:00
StorageS3Settings.h Add max limitation for the size of an uploaded part. 2022-11-02 17:53:54 +01:00
StorageSet.cpp Simplify the code and check what will happen 2022-08-15 06:56:29 +02:00
StorageSet.h
StorageSnapshot.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2022-09-06 15:51:16 +00:00
StorageSnapshot.h Cleanups 2022-07-24 12:21:18 +02:00
StorageSQLite.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageSQLite.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageStripeLog.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageStripeLog.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageTableFunction.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageURL.cpp Merge pull request #42224 from kssenii/fit-http-buffer-retries 2022-11-04 11:50:17 +01:00
StorageURL.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageValues.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageValues.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageView.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageView.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageXDBC.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
StorageXDBC.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
TableLockHolder.h
transformQueryForExternalDatabase.cpp Fixed tests 2022-10-24 10:22:20 +02:00
transformQueryForExternalDatabase.h
TTLDescription.cpp
TTLDescription.h Cleanups 2022-07-24 12:21:18 +02:00
TTLMode.h
UVLoop.h
VirtualColumnUtils.cpp Refactor PreparedSets/SubqueryForSet 2022-07-26 18:39:02 +00:00
VirtualColumnUtils.h