Igor Nikonov
46ed4f6cdf
Merge pull request #38719 from ClickHouse/skipping_sorting_step
...
SortingStep: deduce way to sort based on input stream sort description
2022-08-17 12:58:11 +02:00
Nikolai Kochetov
8ec3f0821c
Merge pull request #40249 from azat/fix-memory-account-on-error
...
Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
2022-08-17 12:51:40 +02:00
Nikolai Kochetov
8762b4e2ca
Update 02400_memory_accounting_on_error.sql
2022-08-17 12:50:37 +02:00
Alexander Tokmakov
e2c1d06032
Merge pull request #40297 from ClickHouse/fix_build_37198_39933
...
Fix build
2022-08-17 13:28:43 +03:00
Alexander Tokmakov
d1ffa21e2f
fix
2022-08-17 12:17:37 +02:00
Nikolai Kochetov
335a5e3d0a
Merge pull request #40070 from kitaisreal/write-buffer-from-s3-potential-deadlock-fix
...
WriteBufferFromS3 potential deadlock fix
2022-08-17 12:14:17 +02:00
alesapin
4398a357c8
Merge pull request #40151 from ClickHouse/fix_cannot_quickly_remove_directory
...
Fix "Cannot quickly remove directory"
2022-08-17 12:11:18 +02:00
Alexander Tokmakov
caa270b72a
Merge pull request #39933 from ClickHouse/auto_convert_ordinary_to_atomic
...
Add flag that enables automatic conversion from Ordinary to Atomic
2022-08-17 12:40:49 +03:00
Alexander Tokmakov
d23296ef85
Merge pull request #37198 from ClickHouse/replicated_database_improvements
...
Improvements for Replicated database engine and ON CLUSTER queries
2022-08-17 12:30:04 +03:00
Robert Schulze
7589c49bca
Merge pull request #40264 from ClickHouse/vectorscan-cachetable
...
Replace unbounded vectorscan cache by bounded cache
2022-08-17 10:58:29 +02:00
Robert Schulze
2110d4334b
Merge pull request #40272 from ClibMouse/librdkafka_update
...
(negligible) rdkafka library: update lz4.c from upstream, cve fixes
2022-08-17 10:32:33 +02:00
Antonio Andelic
78ed49419c
Merge pull request #40261 from ClickHouse/extract-common-kv-storage-logic
...
Extract common KV storage logic
2022-08-17 08:15:57 +02:00
Nikita Mikhaylov
a7c3f23dfb
Merge branch 'master' into auto_convert_ordinary_to_atomic
2022-08-17 00:38:25 +02:00
Rich Raposa
a3a124cc34
Added --ask-password option to documentation ( #40289 )
2022-08-17 00:20:10 +02:00
Robert Schulze
df889351ad
feat: replace unbounded vectorscan cache by bounded cache
...
VectorScan patterns can grow large (up to multiple MBs) and queries
involving different VectorScan patterns lead to an ever increasing
pattern cache size.
With this commit, the unbounded cache for vectorscan patterns is
replaced by a bounded cache with "CacheTable" eviction strategy, similar
to what we have for re2 patterns. The cache size is currently hard-coded
to 500 entries.
Fixes #19869
2022-08-16 21:09:47 +00:00
Robert Schulze
89bf69c35f
style: improve code aesthetics and make it slightly safer
2022-08-16 21:09:32 +00:00
Alexander Tokmakov
4482465ce3
Merge pull request #40134 from arthurpassos/fix_cares_reverse_dns_race_condition
...
Fix CaresPTRResolver race condition
2022-08-16 21:06:17 +03:00
Nikolai Kochetov
feab1eb0a3
Update CurrentMemoryTracker.cpp
2022-08-16 18:40:06 +02:00
Igor Nikonov
fdd699e8a3
Rename tests according to new setting name
2022-08-16 16:37:31 +00:00
Igor Nikonov
d4367de7bb
Rename setting to optimize_sorting_by_input_stream_properties
2022-08-16 16:27:41 +00:00
Nikolai Kochetov
8e4c967fc9
Try to account untracked memory (per thread) more correctly.
2022-08-16 18:09:05 +02:00
Azat Khuzhin
ded70fbd53
Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
...
In case of memory allocation had been failed, it should not be take into
account anywhere, otherwise it will report incorrect memory usage for
query and in logs.
I found this while was digging into OOM in stress tests, and saw memory
allocations that had been significantly greater the memory limit (even
with overcommit).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-16 18:08:56 +02:00
Alexander Tokmakov
0136262a2a
fix
2022-08-16 18:03:02 +02:00
Igor Nikonov
51f4716b29
Fix review comments
2022-08-16 14:59:53 +00:00
Yakov Olkhovskiy
18c3ae5b37
Merge pull request #40269 from ClickHouse/ci-mergeable-add-unit-1
...
Add update_mergeable_check trigger for Unit tests
2022-08-16 10:52:59 -04:00
Suzy Wang
6539273c86
update lz4.c from upstream, cve fixes
2022-08-16 06:50:37 -07:00
Alexander Tokmakov
832d7c6e7c
Merge branch 'master' into replicated_database_improvements
2022-08-16 15:49:13 +02:00
Alexander Tokmakov
47bdd8a3e2
Merge pull request #40248 from ClickHouse/stacktraces_in_integration_tests
...
Try to print stacktraces if query timeouts in integration tests
2022-08-16 16:39:49 +03:00
Kseniia Sumarokova
37d522fd6e
Merge pull request #40260 from kssenii/add-current-metrics-for-cache
...
Add more current metrics for cache
2022-08-16 15:14:29 +02:00
robot-clickhouse
15bbb21a09
Automatic style fix
2022-08-16 13:10:28 +00:00
Yakov Olkhovskiy
dfbbc51045
add update_mergeable_check trigger
2022-08-16 09:02:03 -04:00
Alexander Tokmakov
99ad09e9f3
Merge pull request #40268 from ClickHouse/revert-40027-perf-sparse-hashed
...
Revert "tests/performance: cover sparse_hashed dictionary"
2022-08-16 15:33:49 +03:00
Alexander Tokmakov
6fd4d2cfb3
Revert "tests/performance: cover sparse_hashed dictionary ( #40027 )"
...
This reverts commit 6a30c23252
.
2022-08-16 15:32:50 +03:00
kssenii
3901778d49
Add more current metrics for cache
2022-08-16 11:32:23 +02:00
Antonio Andelic
b33f3a4e16
Extract common KV storage logic
2022-08-16 09:32:01 +00:00
Maksim Kita
110470809b
Merge pull request #40121 from amosbird/profile-processor-1
...
Extend processors_profile_log with more info
2022-08-16 09:49:12 +02:00
Alexander Tokmakov
1e6f7a7c52
make it work with python3.8
2022-08-16 09:35:45 +02:00
Alexey Milovidov
a54db7d501
Merge pull request #40241 from Avogar/fix-capnproto-sigsev
...
Fix possible segfault in CapnProto input format
2022-08-16 08:25:49 +03:00
Alexey Milovidov
328ab25660
Merge pull request #40250 from ClickHouse/ci-mergeable-add-unit
...
Add Unit tests to Mergeable
2022-08-16 08:14:27 +03:00
Yakov Olkhovskiy
b865787b3c
add Unit tests to Mergeable
2022-08-15 19:05:40 -04:00
Igor Nikonov
7a9bdbe81a
Merge remote-tracking branch 'origin/master' into skipping_sorting_step
2022-08-15 20:59:37 +00:00
Igor Nikonov
aba00952f5
Fix: don't set sort mode in ReadFromMergeTree if sort description empty
2022-08-15 20:58:20 +00:00
Maksim Kita
2f5a63e87f
Merge pull request #40247 from den-crane/Docs/array_join
...
Doc. some notes about arrayJoin
2022-08-15 22:26:20 +02:00
robot-clickhouse
1b11a5c6fe
Automatic style fix
2022-08-15 20:19:41 +00:00
Alexander Tokmakov
26c2a0ce5e
try to print stacktraces if query timeouts
2022-08-15 22:12:07 +02:00
Denny Crane
f574b49825
Update array-join.md
2022-08-15 16:45:07 -03:00
Denny Crane
c7aaf9bbc6
Update array-join.md
2022-08-15 16:44:27 -03:00
Denny Crane
f3b349fd18
Update array-join.md
2022-08-15 16:42:55 -03:00
Denny Crane
73f51a0f19
doc array-join
2022-08-15 16:40:48 -03:00
Alexander Tokmakov
589c3408d2
Merge pull request #40234 from ClickHouse/better_message_on_restore_covered
...
Better error message when restoring covered parts
2022-08-15 22:01:48 +03:00