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
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
Denny Crane
e4fa000f6f
Update Settings.h
2024-01-16 18:29:15 -04: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
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
1d34f4a304
Merge pull request #58809 from ClickHouse/print-entries-to-be-processed-in-trace
...
Increase log level to trace to help debug `00993_system_parts_race_condition_drop_zookeeper`
2024-01-16 16:14:22 +01:00
Alexander Tokmakov
27fc822e0b
Merge pull request #58872 from ClickHouse/revert-58835-support-net-write-read-settings
...
Revert "Add support for MySQL `net_write_timeout` and `net_read_timeout` settings"
2024-01-16 15:16:32 +01:00
Alexander Tokmakov
661500a140
Revert "Add support for MySQL net_write_timeout
and net_read_timeout
settings"
2024-01-16 15:01:14 +01:00
Kruglov Pavel
74973c1b41
Merge pull request #58537 from sunny19930321/fix/hive-threadpool-query
...
Fix hive threadpool read ORC/Parquet/... Failed
2024-01-16 14:46:22 +01:00
Nikita Taranov
7d03ccd8db
Merge pull request #58844 from nickitat/fixxxx
...
Fix reading from an invisible part in new (not released yet) parallel replicas coordinator
2024-01-16 14:09:21 +01:00
vdimir
9b54bf465f
Merge pull request #58863 from ClickHouse/vdimir/timeout_01961_roaring_memory_tracking
...
Set max_bytes_before_external_group_by in 01961_roaring_memory_tracking
2024-01-16 13:07:44 +01:00
Yarik Briukhovetskyi
c9cee8c6cb
Merge pull request #58771 from yariks5s/polygon_bug_fix
...
Fix Segfault in `SlabsPolygonIndex::find`
2024-01-16 12:35:04 +01:00
vdimir
d2dccf9a22
Merge pull request #49703 from ClickHouse/vdimir/analyzer_join_resolve_nested
...
Analyzer: Fix resolving subcolumns in JOIN
2024-01-16 11:24:02 +01:00
vdimir
07ffbc9f2a
Merge pull request #51550 from ClickHouse/vdimir/join_nested_lowcardinality_convert
...
Add join keys conversion for nested lowcardinality
2024-01-16 11:13:14 +01:00
vdimir
de3e7012d5
Merge pull request #58652 from ClickHouse/vdimir/analyzer_hash_join_duplicate_columns
...
Analyzer: Fix assertion in HashJoin with duplicate columns
2024-01-16 11:12:31 +01:00
vdimir
188cadc02b
Set max_bytes_before_external_group_by in 01961_roaring_memory_tracking
2024-01-16 10:12:00 +00:00
vdimir
54a79c1f3d
Merge pull request #58123 from ClickHouse/vdimir/cluster_discovery_password
...
ClusterDiscovery supports setting username and password
2024-01-16 11:05:54 +01:00
vdimir
8b108365f5
Merge pull request #58808 from ClickHouse/vdimir/json_extract_lc_fix
...
Fix JSONExtract function for LowCardinality(Nullable) columns
2024-01-16 11:01:10 +01:00
Kseniia Sumarokova
167b6bee1b
Merge pull request #58786 from xleoken/eos
...
Ecloud EOS Storage support
2024-01-16 10:05:31 +01:00
Kseniia Sumarokova
5fcf1b216b
Merge pull request #58842 from ClickHouse/fix-data-race-in-slru
...
fs cache: fix data race in slru
2024-01-16 08:53:41 +01:00
Alexey Milovidov
ebfea07f93
Merge pull request #58832 from kitaisreal/database-catalog-background-tasks-add-log-names
...
DatabaseCatalog background tasks add log names
2024-01-16 08:42:38 +01:00
Alexey Milovidov
786f37251d
Merge pull request #58835 from slvrtrn/support-net-write-read-settings
...
Add support for MySQL `net_write_timeout` and `net_read_timeout` settings
2024-01-16 08:42:15 +01:00
Nikita Taranov
b9132f7f69
add check in read pool
2024-01-16 00:57:10 +01:00
Alexander Tokmakov
8bdd6542ce
Merge pull request #58647 from ClickHouse/tavplubix-patch-10
...
Update test_replicated_database/test.py
2024-01-16 00:32:08 +01:00
Alexey Milovidov
a9fe9cae60
Merge pull request #58821 from ClickHouse/do-not-trim-fuzzer-log
...
Fuzzer: do not trim fuzzer log
2024-01-16 00:01:55 +01:00
Nikita Taranov
90d30b6d11
impl
2024-01-15 23:56:53 +01:00
Alexey Milovidov
8973e7d873
Merge pull request #58833 from ClickHouse/fix-analyzer-remote-aggregation
...
Analyzer: Resolve GROUPING function on shards
2024-01-15 23:33:14 +01:00
Kseniia Sumarokova
ae884760db
Merge pull request #58357 from ClickHouse/better-disks-configuration
...
Flexible configuration for disks
2024-01-15 21:34:36 +01:00
kssenii
e2c5e5fa70
Fix data race in slru
2024-01-15 21:19:11 +01:00
alesapin
be371409ab
Merge pull request #58839 from ClickHouse/fix_is_retry
...
Fix `isRetry` method
2024-01-15 20:28:03 +01:00
alesapin
f1b1096eb4
Fix isRetry
method
2024-01-15 20:10:21 +01:00
Kseniia Sumarokova
7ded82e51f
Merge pull request #58297 from azat/qp-alter-part
...
Support query parameters in ALTER TABLE ... PART
2024-01-15 18:18:34 +01:00
slvrtrn
204a291384
Remove an unnecessary include
2024-01-15 17:52:58 +01:00
slvrtrn
d841fae5ad
Rename the tests
2024-01-15 17:36:13 +01:00
Dmitry Novik
de115c4da7
Fix for passes that use column source
2024-01-15 16:25:39 +00:00
slvrtrn
be09a41639
Merge remote-tracking branch 'origin' into support-net-write-read-settings
2024-01-15 17:15:43 +01:00
slvrtrn
8ad6b03649
Add a test for MySQL settings replacements
2024-01-15 17:15:07 +01:00
xleoken
6f7e7c95ba
Ecloud EOS Storage support
2024-01-15 11:07:43 -05:00
Dmitry Novik
0f7daeffc8
Analyzer: Resolve GROUPING function on shards
2024-01-15 16:02:37 +00:00
Maksim Kita
573fa8c375
DatabaseCatalog background tasks add log names
2024-01-15 18:59:34 +03:00
slvrtrn
d37ac1954e
Add support for net_write/read_timeout MySQL settings
2024-01-15 16:05:36 +01:00
Yarik Briukhovetskyi
61889faabd
Merge pull request #58710 from aiven-sal/aiven-sal/fix_normq2
...
Handle signed numeric literals in normalizeQuery
2024-01-15 14:40:03 +01:00
Dmitry Novik
a6a0122406
Fuzzer: do not trim fuzzer log
2024-01-15 13:06:43 +00:00
yariks5s
de2d0a788f
remove the test from fast tests
2024-01-15 13:05:50 +00:00
kssenii
abd800dfa6
Fix keeper build
2024-01-15 13:25:10 +01:00
vdimir
61f2ab3ec5
Update HashJoin::getNonJoinedBlocks
2024-01-15 11:37:33 +00:00