Azat Khuzhin
353a770a87
Extend test_insert_distributed_async_send for distributed_directory_monitor_split_batch_on_failure
2021-06-23 02:48:47 +03:00
Azat Khuzhin
3bd53c68f9
Try to split the batch in case of broken batch too
...
Broken batches may be because of abnormal server shutdown (and lack of
fsync), and ignoring the whole batch is not great in this case, so apply
the same split logic here too.
v2: rename exception
v3: catch missing exception
v4: fix marking the file as broken multiple times (fixes
test_insert_distributed_async_send with setting enabled)
2021-06-23 02:48:47 +03:00
Azat Khuzhin
a0209178cc
Add ability to split distributed batch on failures
...
Add distributed_directory_monitor_split_batch_on_failure setting (OFF by
default), that will split the batch and send files one by one in case of
retriable errors.
v2: more error codes
2021-06-23 02:48:47 +03:00
Azat Khuzhin
e148ef739d
Drop replicas from dirname for internal_replication=true
...
Under use_compact_format_in_distributed_parts_names=1 and
internal_replication=true the server encodes all replicas for the
directory name for async INSERT into Distributed, and the directory name
looks like:
shard1_replica1,shard1_replica2,shard3_replica3
This is required for creating connections (to specific replicas only),
but in case of internal_replication=true, this can be avoided, since
this path will always includes all replicas.
This patch replaces all replicas with "_all_replicas" marker.
Note, that initial problem was that this path may overflow the NAME_MAX
if you will have more then 15 replicas, and the server will fail to
create the directory.
Also note, that changed directory name should not be a problem, since:
- empty directories will be removed since #16729
- and replicas encoded in the directory name is also supported anyway.
2021-06-23 02:47:38 +03:00
Nikita Mikhaylov
000c937ebe
fix pvs check
2021-06-22 23:24:47 +00:00
Nikita Mikhaylov
be4aff0c19
delete test
2021-06-22 23:24:47 +00:00
Nikita Mikhaylov
f4d6a6e128
support dynamic reloading of server config
2021-06-22 23:24:47 +00:00
Nikita Mikhaylov
a39bca0acf
better
2021-06-22 23:24:47 +00:00
Nikita Mikhaylov
c66a3b22b5
done
2021-06-22 23:24:47 +00:00
Alexey Milovidov
dbb2532e88
Minor change
2021-06-23 02:02:57 +03:00
mergify[bot]
aa19af3bb1
Merge branch 'master' into fix-flaky-test-01249
2021-06-22 22:46:39 +00:00
alexey-milovidov
dc5c203eb8
Update adopters.md
2021-06-23 01:34:44 +03:00
Alexey Milovidov
afeb562744
Small change in Roaring Bitmaps
2021-06-23 00:29:20 +03:00
Alexey Milovidov
e8200f5cef
Add a test for #22108
2021-06-23 00:21:32 +03:00
alexey-milovidov
133443bd14
Update tips.md
2021-06-23 00:09:10 +03:00
alesapin
a92bd49229
Supress PVS
2021-06-22 23:23:26 +03:00
Dmitriy
a1e65ae260
Translate to Russian
...
Выполнил перевод на русский язык.
2021-06-22 21:50:51 +03:00
alexey-milovidov
6cab82f31f
Merge pull request #25592 from evillique/docs
...
Fixed Bundled build description
2021-06-22 20:11:27 +03:00
Anton Ivashkin
e0199d8006
Fix DiskS3 restore
2021-06-22 20:05:20 +03:00
sevirov
d172509c77
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:29:07 +03:00
sevirov
1230efb03b
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:53 +03:00
sevirov
a870dec0ef
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:44 +03:00
sevirov
39fef21d67
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:36 +03:00
sevirov
5edc97cd93
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:28:25 +03:00
sevirov
30d730ab50
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:27:23 +03:00
sevirov
9d084510c7
Update docs/en/sql-reference/table-functions/s3Cluster.md
...
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-22 19:24:58 +03:00
Anton Popov
18fad6d322
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-22 19:20:59 +03:00
kssenii
e0f330331b
Fix exception
2021-06-22 19:15:34 +03:00
Dmitriy
8091bd382d
The small fix
...
Внес небольшую поправку.
2021-06-22 19:15:19 +03:00
mergify[bot]
c15493f0df
Merge branch 'master' into add_test_for_concurrent_merges
2021-06-22 15:49:35 +00:00
alexey-milovidov
d6b93f3af8
Merge pull request #25584 from kelvich/patch-1
...
Fix typo in hardware failure error message
2021-06-22 18:38:00 +03:00
Pavel Kruglov
fb8374811a
Add new line at the end of files
2021-06-22 18:03:08 +03:00
tavplubix
1f07dd06fc
Merge pull request #25375 from atereh/terehova-DOCSUP-10113-update-function-range
...
DOCSUP-10113: Update the function range docs
2021-06-22 17:43:43 +03:00
Anton Popov
eea4aac0db
Merge pull request #25065 from gyuton/gyuton-DOCSUP-7551-Allow-nested-with-multiple-nesting-and-subcolumns-of-complex-types
...
DOCSUP-7551: Documented nested with multiple nesting and subcolumns of complex types
2021-06-22 17:41:45 +03:00
vdimir
80a001ab0c
Use settings from global context in StorageView
2021-06-22 17:39:09 +03:00
alesapin
3f88bc604e
Merge pull request #25583 from azat/clickhouse-test-log_comment
...
clickhouse-test: use basename (instead of full path) for log_comment
2021-06-22 17:37:39 +03:00
vdimir
85bcf8a1dc
Merge branch 'master' into view-join-settings
2021-06-22 17:36:44 +03:00
mergify[bot]
f3512f15d5
Merge branch 'master' into zookeeper_snapshots
2021-06-22 14:29:36 +00:00
tavplubix
7b5f34cb55
Update 01149_zookeeper_mutation_stuck_after_replace_partition.sql
2021-06-22 17:28:12 +03:00
Pavel Kruglov
6147ad6432
Fix tests
2021-06-22 17:27:03 +03:00
tavplubix
7ad75377e3
Merge pull request #25593 from ClickHouse/revert-24867-ncb/h3-indexing-funcs
...
Revert "Implement h3ToGeo function"
2021-06-22 17:25:48 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function"
2021-06-22 17:25:21 +03:00
Nikolay Degterinsky
22de14be3f
Fixed docs
2021-06-22 14:10:34 +00:00
alesapin
47b29092b4
Fix bug in MergerMutator parts selector
2021-06-22 16:47:42 +03:00
Alexey Milovidov
668846012f
Revert "Remove Testflows, because they are unstable"
...
This reverts commit eaf3f9c6e6
.
2021-06-22 16:44:59 +03:00
Alina Terekhova
749855f1c8
Removed start-end comparison statement
2021-06-22 15:43:16 +02:00
Alina Terekhova
7a742efcbb
Update docs/ru/sql-reference/functions/array-functions.md
...
format to type
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-06-22 15:41:14 +02:00
alexey-milovidov
2987d11268
Update adopters.md
2021-06-22 16:36:29 +03:00
alexey-milovidov
bd4fb30735
Update adopters.md
2021-06-22 16:35:15 +03:00
alexey-milovidov
2201993479
Update adopters.md
2021-06-22 16:33:12 +03:00