Commit Graph

107206 Commits

Author SHA1 Message Date
Nikita Mikhaylov
33877b5e00
Parallel replicas. Part [2] (#43772) 2023-02-03 14:34:18 +01:00
Antonio Andelic
d5117f2aa6
Define S3 client with bucket and endpoint resolution (#45783)
* Update aws

* Define S3 client with bucket and endpoint resolution

* Add defines for ErrorCodes

* Use S3Client everywhere

* Remove unused errorcode

* Add DROP S3 CLIENT CACHE query

* Add a comment

* Fix style

* Update aws

* Update reference files

* Add missing include

* Fix unit test

* Remove unneeded declarations

* Correctly use RetryStrategy

* Rename S3Client to Client

* Fix retry count

* fix clang-tidy warnings
2023-02-03 14:30:52 +01:00
Han Fei
2656027c9f make it work if we dont define use_vectorscan macro 2023-02-03 14:25:53 +01:00
Mikhail f. Shiryaev
c34a09f215
Merge pull request #46012 from ClickHouse/auto/v23.1.3.5-stable
Update version_date.tsv and changelogs after v23.1.3.5-stable
2023-02-03 14:25:35 +01:00
Anton Popov
cdbe145bc1
Merge pull request #45796 from CurtizJ/fix-leak-in-azure-sdk
Fix test `test_azure_blob_storage_zero_copy_replication ` (memory leak in azure sdk)
2023-02-03 14:16:19 +01:00
Igor Nikonov
ed00db7580 Update sorting properties after reading in order applied 2023-02-03 13:15:06 +00:00
Vitaly Baranov
45d2d678ab
Merge pull request #45800 from vitlibar/rename-new-columns-in-system-backups
Rename new columns in system.backups
2023-02-03 14:00:16 +01:00
robot-clickhouse
a9ab22e45d Update version_date.tsv and changelogs after v23.1.3.5-stable 2023-02-03 13:00:13 +00:00
Azat Khuzhin
a196f995b1 Fix error message for a broken distributed batches ("While sending batch")
There was an error from the begginning that does not respect
file_indices, and iterate only over file_index_to_path, while this is
not correct, since there can be less files then in file_index_to_path,
and this is what file_indices for.

Note, that only an error message was wrong, logic was fine. You can
verify this by the logs:

    2022.12.07 11:55:50.951976 [ 39217 ] {} <Debug> default.dist.DirectoryMonitor: Sending a batch of 10 files to localhost:9000 (128.42 thousand rows, 36.32 MiB bytes).
    2022.12.07 11:55:50.953762 [ 39217 ] {} <Error> default.dist.DirectoryMonitor: Code: 516. DB::Exception: Received from localhost:9000. DB::Exception: Interserver authentication failed. Stack trace:
    ...
    : While sending batch, nums: 62, files: /work6/clickhouse/data/default/dist/shard1_replica1/66827258.bin

As you can see "Sending a batch of 10 files" but "nums: 62"

Fixes: #23856
Refs: #41813
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-03 13:54:40 +01:00
Alexey Milovidov
3e3df376c0
Merge pull request #45995 from CurtizJ/check-dynamic-columns
Check dynamic columns of part before its commit
2023-02-03 15:39:54 +03:00
Alexey Milovidov
c91b5c264f
Merge pull request #45940 from ClickHouse/fix-uring
Fix IO URing
2023-02-03 15:36:29 +03:00
Maksim Kita
a759c3fb13 Analyzer limit offset test rename 2023-02-03 13:36:14 +01:00
Sema Checherinda
e0db071563
Merge branch 'master' into release-merge-blocker-drop-part 2023-02-03 13:35:51 +01:00
Sema Checherinda
a356c64d9c add no-s3-storage to stateless tests with inmemory parts 2023-02-03 12:29:53 +00:00
kssenii
486c10bde1 Fix named collections access 2023-02-03 13:18:54 +01:00
Sema Checherinda
fe0b13e9f4
Merge pull request #45458 from FrankChen021/better_postpone_reason
Show the name of replica that is executing a merge in the postpone_reason
2023-02-03 13:15:10 +01:00
Nikolai Kochetov
9cabbd07cc
Merge branch 'master' into fix-crash-in-regression 2023-02-03 12:38:29 +01:00
Robert Schulze
1d65d6a5e9
Merge pull request #46008 from ClickHouse/rs/time-zone-randomization
Docs: Mention time zone randomization
2023-02-03 12:34:55 +01:00
Robert Schulze
d9d51934a9
Docs: Mention time zone randomization 2023-02-03 11:34:11 +00:00
Mikhail f. Shiryaev
dd64c8bacc
Add tests for installation from binary 2023-02-03 12:16:22 +01:00
Mikhail f. Shiryaev
981101a40a
Add arm64 installation tests 2023-02-03 12:16:22 +01:00
Mikhail f. Shiryaev
e41a78b67a
Improve local tests 2023-02-03 12:16:21 +01:00
Mikhail f. Shiryaev
7a7b16dd13
Do not use debconf/confmodule in tgz packages 2023-02-03 12:16:19 +01:00
Mikhail f. Shiryaev
a42d20e19d
Create "coordination" directory in keeper if does not exist 2023-02-03 12:16:19 +01:00
Mikhail f. Shiryaev
496701bd59
Add necessary postinst steps for clickhouse-keeper 2023-02-03 12:16:18 +01:00
Mikhail f. Shiryaev
360ea59ecf
Remove unused variables from clickhouse-server.postinstall 2023-02-03 12:16:18 +01:00
Mikhail f. Shiryaev
a18a4a4502
Use Path in download helper, do not redownload exist files 2023-02-03 12:16:17 +01:00
Mikhail f. Shiryaev
fc48867bed
Get rid of odd entity 2023-02-03 12:16:17 +01:00
Mikhail f. Shiryaev
dc00bce9cf
Add tests for packages' installation 2023-02-03 12:16:16 +01:00
Mikhail f. Shiryaev
548b89b7e0
Use systemd %-specifiers in clickhouse-server.service 2023-02-03 12:16:16 +01:00
Mikhail f. Shiryaev
26a292dafc
Add systemd service-file for clickhouse-keeper 2023-02-03 12:16:10 +01:00
Antonio Andelic
bb44a14a56
Merge pull request #46007 from ClickHouse/revert-45914-improve-into-date-from-uint16
Revert "Improve behaviour of conversion into Date for boundary value 65535"
2023-02-03 12:13:15 +01:00
Antonio Andelic
cb0e338d70
Revert "Improve behaviour of conversion into Date for boundary value 65535" 2023-02-03 12:10:39 +01:00
Kseniia Sumarokova
ef7acb9b66
Merge pull request #44404 from kssenii/storage-rabbitmq-fix-flush
RabbitMQ - fix writing many small blocks by flushing data only exactly by flush_interval_ms or by max_block_size
2023-02-03 11:50:12 +01:00
Robert Schulze
c7866115cd
Merge pull request #46004 from ClickHouse/rs/doc-fixes
Minor doc fixes for inverted index
2023-02-03 11:02:42 +01:00
Robert Schulze
b95ecfaec5
Minor doc fixes for inverted index 2023-02-03 10:01:53 +00:00
Robert Schulze
b5371f28a0
Merge pull request #45809 from jinjunzh/iaadeflate_upgrade_qpl_v1.0.0
Upgrade QPL to v1.0.0 + link libaccel-config statically
2023-02-03 10:55:37 +01:00
Robert Schulze
f72286c8f3
Merge branch 'master' into qc-max_cache_size 2023-02-03 10:54:35 +01:00
Robert Schulze
6908093787
Merge pull request #45973 from ClickHouse/final-codecs
Add "final" specifier to some classes
2023-02-03 10:52:59 +01:00
Antonio Andelic
c83f701696
Merge pull request #45878 from liuneng1994/optimize_parquet_reader
Optimization for parquet reader
2023-02-03 10:24:56 +01:00
Antonio Andelic
e507721557
Merge branch 'master' into optimize_parquet_reader 2023-02-03 10:24:18 +01:00
xiedeyantu
7939787302 fix 2023-02-03 16:38:35 +08:00
flynn
3d9b8ba991 Merge branch 'master' of github.com:ClickHouse/ClickHouse into tuple 2023-02-03 07:48:57 +00:00
Frank Chen
7831cf85db Revert an extra change 2023-02-03 15:36:12 +08:00
Frank Chen
d38adfab30 Merge two overridden functions as one 2023-02-03 15:27:45 +08:00
flynn
d119367d7d fix 2023-02-03 07:06:58 +00:00
Alexey Milovidov
108d1c3442
Merge pull request #45872 from ClickHouse/fix-trash-query-kind
Remove trash, add a feature and fix a bug
2023-02-03 09:58:43 +03:00
Alexey Milovidov
4e849052d1
Merge pull request #45983 from azat/fuzzy-search-fixes
Avoid leaving symbols leftovers for query fuzzy search
2023-02-03 09:21:05 +03:00
Alexey Milovidov
a83a81fe3b Fix tests 2023-02-03 07:05:02 +01:00
Alexey Milovidov
700503d64a Fix IO URing 2023-02-03 07:00:40 +01:00