Commit Graph

133015 Commits

Author SHA1 Message Date
Kruglov Pavel
63ac1c784f
Fix possible crash in clickhouse-local during loading suggestions 2024-01-17 14:28:10 +01:00
kssenii
a572fda873 Fix 2024-01-17 14:22:34 +01:00
Antonio Andelic
3efe102fde
Merge pull request #58901 from ClickHouse/add-jepsen-log
Add log for already download binary in Jepsen
2024-01-17 14:11:42 +01:00
Yakov Olkhovskiy
d5d060a17e fix memory leak in bzip2 2024-01-17 12:53:37 +00:00
Kruglov Pavel
6d064512e1
Merge pull request #58614 from Blargian/58363_disable_ansi_pretty_automatically
58363 Automatically disable ANSI escape sequences in Pretty formats if the output is not a terminal
2024-01-17 13:45:41 +01:00
Nikita Taranov
bb124b544c
Merge pull request #58077 from nickitat/revert_rest
Remove unneeded parameter `use_external_buffer` from `AsynchronousReadBuffer*`
2024-01-17 13:45:07 +01:00
kssenii
c905937ef6 Refactoring 2024-01-17 13:22:59 +01:00
Robert Schulze
84ab20ff77
Some fixups 2024-01-17 12:01:52 +00:00
Antonio Andelic
c8a313da5a
Merge pull request #58873 from ClickHouse/fix-00089_group_by_arrays_of_fixed
Fix `00089_group_by_arrays_of_fixed` with external aggregation
2024-01-17 12:50:30 +01:00
Antonio Andelic
2d16b34a7f Add log for already download binary 2024-01-17 11:49:58 +00:00
MikhailBurdukov
37d059bd73 Disable test in fasttest 2024-01-17 11:36:53 +00:00
Antonio Andelic
5e020476d3
Merge pull request #58810 from ClickHouse/heap-profiler-docs
Add docs for allocation profiling
2024-01-17 12:26:55 +01:00
Dmitry Novik
a5e0be484a
Merge pull request #58875 from ClickHouse/fix-indexhint-rpn-builder
Fix RPN construction for indexHint
2024-01-17 12:24:28 +01:00
Kseniia Sumarokova
2f68086db8
Merge pull request #58898 from ClickHouse/kssenii-patch-8
Update SLRUFileCachePriority.cpp
2024-01-17 12:01:52 +01:00
Raúl Marín
ae1e19f42b
Merge pull request #58849 from ClickHouse/fix-bad-log-message-3
Fix bad log message
2024-01-17 11:58:11 +01:00
Robert Schulze
22534c69c4
Merge remote-tracking branch 'ClickHouse/master' into u/zhengmiao/AddArrayFunctionShingles 2024-01-17 10:49:11 +00:00
MikhailBurdukov
e2729ed4c9 Restriction for the access key id for s3. 2024-01-17 10:43:58 +00:00
Raúl Marín
29eb3347cd Add tests for #57193 2024-01-17 11:39:51 +01:00
Kseniia Sumarokova
0b3ebcda08
Update SLRUFileCachePriority.cpp 2024-01-17 11:13:57 +01:00
Antonio Andelic
1e180d9a7e Atomically test and set is_generate_initialized 2024-01-17 09:42:12 +00:00
kssenii
3d564c0802 Fix typo 2024-01-17 10:34:13 +01:00
kssenii
1f384dd8a8 Fix 2024-01-17 10:32:56 +01:00
Dmitry Novik
ed1221ef4c
Merge pull request #58876 from ClickHouse/analyzer-test-group-by-shards
Analyzer: add test with GROUP BY on shards
2024-01-17 10:08:00 +01:00
Antonio Andelic
ded830ba33 Correctly handle shutdown 2024-01-17 08:56:36 +00:00
Yakov Olkhovskiy
7706840dd9 fix test 2024-01-17 06:33:41 +00:00
Alexey Milovidov
28b27e34ee Whitespaces 2024-01-17 07:29:45 +01:00
Mikhail Koviazin
5ef9478a2e
SensitiveDataMasker: replace shared_ptr with MultiVersion 2024-01-17 08:10:50 +02:00
Mikhail Koviazin
a83f6be97c
SensitiveDataMasker: replace mutex with atomic_{load,store} 2024-01-17 08:10:50 +02:00
Mikhail Koviazin
9e0414f557
fix data race in SensitiveDataMasker
This commit fixes the data race that was introduced in 3067ca6. That commit
added scope lock for `getInstance` and `setInstance`, but `getInstance`
returned a pointer that could be invalidated between call for `getInstance` and
actual usage of the pointer.

This commit changes `SensitiveDataMasker` singleton from `unique_ptr` to
`shared_ptr`, so even if `setInstance` will be called right after
`getInstance`, the pointer returned from `getInstance` will live long enough to
call `wipeSensitiveData` on it.
2024-01-17 08:10:50 +02:00
Mikhail Koviazin
6e6197019c
Reintroduce commit 3067ca6
Update `query_masking_rules` when reloading the config

This reverts commit 7e55eab1c3.
2024-01-17 08:10:49 +02:00
Pradeep Chhetri
09f29b4502 Update nomenclature of variables 2024-01-17 13:52:10 +08:00
Alexey Milovidov
863c6523a3 Add a test for #47988 2024-01-17 06:48:24 +01:00
Yakov Olkhovskiy
1d9ac13418 fix test 2024-01-17 05:38:16 +00:00
Alexey Milovidov
f349a7d0c0
Merge pull request #58883 from den-crane/patch-67
Fix ambiguity in the setting description
2024-01-17 06:08:40 +01:00
Alexey Milovidov
d85abfafa4
Update KeeperAsynchronousMetrics.cpp 2024-01-17 08:05:48 +03:00
Alexey Milovidov
90e35be861
Update KeeperAsynchronousMetrics.cpp 2024-01-17 08:04:32 +03:00
Pradeep Chhetri
eafaab3795 Add metric for keeper memory soft limit 2024-01-17 12:56:18 +08:00
Yakov Olkhovskiy
e6b3f69137 style fix 2024-01-17 02:58:18 +00:00
Yakov Olkhovskiy
e06e4695e1 refactoring bzip2 buffer and fix possible data loss in internal buffer 2024-01-17 01:55:38 +00:00
Yakov Olkhovskiy
5da897ac20 fix test 2024-01-17 00:19:59 +00:00
Yakov Olkhovskiy
a9e12d7498 fix test 2024-01-16 23:40:25 +00:00
Yakov Olkhovskiy
1bda1bc839 test is added 2024-01-16 22:53:16 +00:00
Denny Crane
e4fa000f6f
Update Settings.h 2024-01-16 18:29:15 -04:00
Yakov Olkhovskiy
92d42567fa separate explicit finalization for buffers 2024-01-16 22:15:35 +00:00
Nikita Taranov
7291674013
Merge pull request #58610 from azat/stacktrace-cleanup
Refactor stacktrace symbolizer to avoid copy-paste
2024-01-16 22:22:08 +01:00
Alexander Tokmakov
38b85e6409
Merge pull request #58649 from azat/tests/test_replicated_database
Fix test_replicated_database::test_startup_without_zk flakiness
2024-01-16 21:08:33 +01:00
Blargian
a457fa34f4 Merge remote-tracking branch 'refs/remotes/origin/58363_disable_ansi_pretty_automatically' into 58363_disable_ansi_pretty_automatically 2024-01-16 20:00:04 +02:00
Blargian
1b81efc337 fix failing 02421 stateless and (hopefully) fix failing integration tests 2024-01-16 19:48:23 +02:00
Yakov Olkhovskiy
73f1ed3b69 explicit finalization for chained buffer 2024-01-16 17:02:22 +00:00
Robert Schulze
9146391e48
Merge pull request #58731 from rschu1ze/qc-quota
Query cache: Fix per-user quota
2024-01-16 17:14:45 +01:00