Commit Graph

45415 Commits

Author SHA1 Message Date
Kseniia Sumarokova
6b9329153b
Fix 2023-08-12 19:00:54 +04:00
kssenii
f4562d19a1 Fix 2023-08-12 15:00:32 +04:00
Kseniia Sumarokova
c73b496da5
Fix style check 2023-08-11 19:36:16 +02:00
kssenii
aa7136c276 Add a comment 2023-08-11 18:05:03 +02:00
kssenii
0f8e5b11f7 Extend exception message 2023-08-11 17:57:51 +02:00
kssenii
df18a6e65e Add a comment 2023-08-11 14:59:21 +02:00
kssenii
934bd7245a Use shared ptr instead of reference 2023-08-11 13:56:38 +02:00
kssenii
26ed5f77ea Fix test 2023-08-11 13:35:48 +02:00
kssenii
eef5bb0951 Review fixes 2023-08-11 13:00:01 +02:00
kssenii
3c26d51220 Better name 2023-08-10 14:29:38 +02:00
kssenii
48fe9605a8 Better 2023-08-10 14:04:19 +02:00
kssenii
a470165769 Better fs cache cleanup 2023-08-10 12:48:45 +02:00
Nikolay Degterinsky
549e2d84c7
Merge branch 'master' into fix_http_header_filtering 2023-08-09 15:16:55 +02:00
Alexander Gololobov
63183c56f1
Revert "Upload build time-trace data to CI database" 2023-08-09 13:58:05 +02:00
Alexander Tokmakov
48ed54e822
Allow experimantal features when recovering Replicated db replica (#53167)
* allow experimantal features when recovering Replicated db replica

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-09 14:35:50 +03:00
Kseniia Sumarokova
47cccee657
Merge branch 'master' into working 2023-08-09 11:35:14 +02:00
Alexey Milovidov
3ffffb0b5e
Merge pull request #53100 from ClickHouse/upload-build-profile
Upload build time-trace data to CI database
2023-08-08 23:33:50 +03:00
Michael Kolupaev
e4b2b3f533
Merge pull request #52828 from ClickHouse/illogical
Don't report LOGICAL_ERROR if a file got truncated during read
2023-08-08 13:13:20 -07:00
Alexey Milovidov
23eee8d10d Merge branch 'master' of github.com:ClickHouse/ClickHouse into upload-build-profile 2023-08-08 21:02:26 +02:00
Nikolai Kochetov
d13941f84d
Merge pull request #45322 from ClickHouse/revert-44629-revert_flamegraph
Revert "Revert "Merge pull request #38953 from ClickHouse/add-allocation-ptr-to-trace-log"
2023-08-08 17:34:55 +02:00
Han Fei
36426beddd
Merge branch 'master' into hanfei/fix-mem-leak 2023-08-08 17:20:40 +02:00
vdimir
3131358f79
Merge pull request #48754 from ClickHouse/vdimir/decimal_in_precision_analyzer 2023-08-08 16:56:32 +02:00
SmitaRKulkarni
cd77406fba
Bug fix for checksum of compress marks (#51777)
* add a test for cmrk and cidx checksums

* Bug fix for checksum of compress marks

* Fixed issue with .cidx checksum

* Fixed style check

* Updated 02253_empty_part_checksums.reference file with part details output

* Update 02253_empty_part_checksums.sh

* Updated to check is_compressed flag instead of size

* Update 02253_empty_part_checksums.sh

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-08-08 17:55:07 +03:00
Han Fei
65dcd79eb0 fix mem leak in RegExpTreeDictionary 2023-08-08 14:58:18 +02:00
Yarik Briukhovetskyi
44400cc742
Merge branch 'master' into add_arrays 2023-08-08 11:55:31 +02:00
vdimir
3f915491f0
Merge pull request #53046 from canhld94/ch_fix_direct_hash_join 2023-08-08 11:55:17 +02:00
Alexander Tokmakov
52bc5aab94
Merge branch 'master' into fix-full-sorting-desc 2023-08-08 12:40:10 +03:00
San
4f6f8fce65
Update src/Common/HTTPHeaderFilter.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-08-08 17:13:43 +10:00
santrancisco
ede710ce83 Small fix for HTTPHeaderFilter 2023-08-08 16:38:16 +10:00
robot-ch-test-poll4
8812cb3cc1
Merge pull request #53122 from ekrasikov/prctl-for-aws-lambda
do not fail if prctl is not allowed (#43589)
2023-08-08 04:41:08 +02:00
Alexey Milovidov
b85ee1d24b
Merge pull request #53123 from vitlibar/use-unique-names-for-temporary-files-on-disks
Use more unique name for TemporaryFileOnDisk
2023-08-08 04:56:58 +03:00
Alexey Milovidov
a976ff44a2
Merge pull request #53130 from ClickHouse/disable-new-parquet-encoder
Disable the new parquet encoder
2023-08-08 04:56:23 +03:00
robot-ch-test-poll
066dd8a2e8
Merge pull request #52949 from CurtizJ/fix-nested-array-lowcardinality
Fix reading of empty `Nested(Array(LowCardinality(...)))`
2023-08-07 23:32:25 +02:00
Sean Haynes
77dd869414
Add ability to log when max_partitions_per_insert_block is reached (#50948)
* Add ability to log when max_partitions_per_insert_block is reached

There's plenty of reasons to drop max_partitions_per_insert_block
down from it's default of 100, with the main one being even touching
remotely close to this number of partitions will create a lot of
merge activity that can de-stabilise a cluster.

This commit adds the ability to log when the above limit is reached
rather than throw an exception, so that you can gauge the impact on
users when dropping this value down.

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

---------

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-08-07 23:28:19 +02:00
Sema Checherinda
796f874116
metrics_perf_events_enabled turn off in perf tests (#52072)
* metrics_perf_events_enabled turn off in perf tests

* turn on metrics_perf_events_enabled for heating and profile requests

* close_perf_descriptors fix the condition

* do not read opend but disabled perf event

* Revert "do not read opend but disabled perf event"

This reverts commit eeab1c9c63.
2023-08-07 23:25:16 +02:00
Alexey Milovidov
4bdf18acfb Disable new parquet encoder 2023-08-07 21:25:16 +02:00
Alexey Milovidov
695f0ffd14 Merge branch 'clang17_fix' of github.com:Algunenano/ClickHouse into upload-build-profile 2023-08-07 21:18:36 +02:00
Azat Khuzhin
2f414950b7
Fix logging for asynchronous non-batched distributed sends (#52583)
Before you may see the following:

  2023.07.25 09:21:39.705559 [ 692 ] {6b5e1299-1b64-4dbb-b25d-45e10027db22} <Trace> test_hkt5nnqj.dist_opentelemetry.DirectoryMonitor.default: Finished processing `` (took 37 ms)

Because file_path and current_file are the references to the same
variable in DistributedAsyncInsertDirectoryQueue::processFile().

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-07 20:57:42 +02:00
Nikolai Kochetov
30075d3bc2
Merge branch 'master' into revert-44629-revert_flamegraph 2023-08-07 19:31:20 +02:00
Vitaly Baranov
6af6247f8a
Merge pull request #52970 from arenadata/ADQM-985
Add `storage_policy` parameter in the `SETTINGS` clause of `RESTORE` statements
2023-08-07 19:01:08 +02:00
Alexander Tokmakov
9d29b7cdbf
Merge pull request #53109 from ClickHouse/tavplubix-patch-8
Update PocoHTTPClient.cpp
2023-08-07 19:33:39 +03:00
Vitaly Baranov
7082cbf5c6 Use more unique name for TemporaryFileOnDisk. 2023-08-07 17:56:30 +02:00
ekrasikov
f9264b5f90 do not fail if prctl is not allowed 2023-08-07 17:03:48 +02:00
Duc Canh Le
cd02980130
Merge branch 'master' into ch_fix_direct_hash_join 2023-08-07 22:20:29 +08:00
Kseniia Sumarokova
55864b51a4
Merge pull request #53055 from kssenii/fix-rare-race-on-key-prefix-directory-cleanup
Fix rare race condition with empty key prefix directory deletion in fs cache
2023-08-07 15:38:46 +02:00
Alexey Milovidov
2c8eb7fa08
Merge pull request #52898 from ucasfl/concept
Use concepts to replace more std::enable_if_t
2023-08-07 16:13:29 +03:00
Alexey Milovidov
277a58387c
Merge pull request #53111 from ClickHouse/revert-zstd-deflating-appendable-changes
Revert changes in `ZstdDeflatingAppendableWriteBuffer`
2023-08-07 16:06:49 +03:00
Anton Popov
981da23144 fix reading of empty Nested(Array(...)) 2023-08-07 12:32:12 +00:00
Antonio Andelic
f5597b1f8e Revert changes from https://github.com/ClickHouse/ClickHouse/pull/53064 2023-08-07 12:21:50 +00:00
Alexander Tokmakov
73d75cde11
Merge pull request #52958 from arenadata/ADQM-1011
Added new tests for session_log and fixed the inconsistency between login and logout.
2023-08-07 15:18:16 +03:00