Commit Graph

133209 Commits

Author SHA1 Message Date
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
zhangyifan27
68b518e324 fix test 2024-01-17 16:46:30 +08: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
Waterkin
ef044842c5 Translate Eng docs to Chinese.
Signed-off-by: Waterkin <1055905911@qq.com>
2024-01-17 13:33:02 +08: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
Vitaly Baranov
c15edebadf Use the same row in system.processes and the same query_id for both a BACKUP/RESTORE query started by user and its asynchronous execution in a separate thread. 2024-01-16 18:49:37 +01: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
robot-clickhouse
7262e93a27 Automatic style fix 2024-01-16 16:26:28 +00:00
János Benjamin Antal
c9b6d53948 Unify naming 2024-01-16 16:16:08 +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
János Benjamin Antal
5a178ce1ef Add proper cleanup to kafka test 2024-01-16 16:03:44 +00:00
János Benjamin Antal
b62a4e9255 Add test 2024-01-16 16:01:42 +00:00
Dmitry Novik
80291ec3f2
Add comments 2024-01-16 16:59:04 +01:00
Dmitry Novik
f3017959ff Analyzer: add test with GROUP BY on shards 2024-01-16 15:41:02 +00:00
yariks5s
66f71008b3 revert and fix 2024-01-16 15:36:43 +00:00
Dmitry Novik
c325f08e79 Fix RPN construction for indexHint 2024-01-16 15:34:45 +00:00
kssenii
237146b4e2 Add to default config 2024-01-16 16:30:07 +01:00