Commit Graph

107096 Commits

Author SHA1 Message Date
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
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
Alexey Milovidov
4cf711f2d8 Fix IO URing 2023-02-03 07:00:40 +01:00
chen
07a6de1713
Merge branch 'master' into s3_file_not_found 2023-02-03 12:29:17 +08:00
xiedeyantu
562642ab7f add settings s3_allow_throw_if_mismatch_files 2023-02-03 12:27:13 +08:00
Frank Chen
ad09721238 Fix test case 2023-02-03 11:59:17 +08:00
Frank Chen
d3a05a11da Merge remote-tracking branch 'remotes/github/master' into stack_trace_in_part_log 2023-02-03 11:39:43 +08:00
Frank Chen
7af5ae7f2e
Merge branch 'master' into better_postpone_reason 2023-02-03 11:20:37 +08:00
Frank Chen
7ad4b3176a Clean code 2023-02-03 11:13:45 +08:00
Frank Chen
93ead69b7f Resolve review comments 2023-02-03 11:05:54 +08:00
李扬
8b339611b9
Merge branch 'master' into improve_decimal 2023-02-03 11:00:19 +08:00
Anton Popov
8ca602a148 check dynamic columns of part before its commit 2023-02-03 02:58:28 +00:00