Nikita Mikhaylov
5ea0971921
Merge pull request #52379 from ClickHouse/fix-test-with-encrypted-disks
...
Fix `test_replicated_merge_tree_encrypted_disk `
2023-07-21 14:12:51 +02:00
Antonio Andelic
59ad2d9acc
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 14:08:26 +02:00
Alexander Tokmakov
d9161c7276
Merge pull request #52382 from ClickHouse/tavplubix-patch-8
...
Less replication errors
2023-07-21 14:58:25 +03:00
Azat Khuzhin
1fe8076b94
Fix capabilities installed via systemd service (fixes netlink/IO priorities)
...
CapabilityBoundingSet that contained in systemd unit before is about
allowing to set some capabilities, not about granting them.
To grant them you need to use AmbientCapabilities.
And if you do not use 'clickhouse install' then:
- IO priorities was unavailable (since they requires CAP_SYS_NICE)
- For taskstats the procfs was used instead of netlink
Not a big deal, but still.
Here how it had been tested:
$ systemd-run -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
root:/etc (master)# capsh --print
Current: cap_net_admin=ep
Bounding set =cap_net_admin
Ambient set =
$ systemd-run -p User=azat -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
azat:/etc$ capsh --print
Current: =
Bounding set =cap_net_admin
Ambient set =
$ systemd-run -p User=azat -p AmbientCapabilities=CAP_NET_ADMIN -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
azat:/etc$ capsh --print
Current: cap_net_admin=eip
Bounding set =cap_net_admin
Ambient set =cap_net_admin
Note, if you are running it under root (without changing user) you don't
need to specify AmbientCapabilities additionally, because root has all
capabilities by default and they had been inherited.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-21 13:57:31 +02:00
Kseniia Sumarokova
1c2fea4980
Merge pull request #52381 from ClickHouse/kssenii-patch-7
...
Follow up to #49698
2023-07-21 13:51:33 +02:00
serxa
66c8066cd5
add test
2023-07-21 11:45:44 +00:00
Nikolai Kochetov
e02a7c7382
Merge pull request #52375 from ClickHouse/disable-analyzer-bc-tests
...
Disable analyzer setting in backward_compatibility integration tests.
2023-07-21 13:39:06 +02:00
serxa
8970a53145
Fix countSubstrings()
hang with empty needle and a column haystack
2023-07-21 11:38:46 +00:00
Kruglov Pavel
f749b52f24
Merge pull request #51582 from azat/hedged-requests-timeouts
...
Fix timeout for hedged requests
2023-07-21 13:28:49 +02:00
Antonio Andelic
10c2d5dade
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 13:24:18 +02:00
Kruglov Pavel
921d25e4e4
Merge branch 'master' into hedged-requests-timeouts
2023-07-21 13:23:49 +02:00
Antonio Andelic
3815a6aa62
Make test_keeper_force_recovery more stable
2023-07-21 11:16:02 +00:00
Antonio Andelic
4a47040763
Merge pull request #52358 from ClickHouse/fix-keeper-apply-snapshot
...
Fix `apply_snapshot` in Keeper
2023-07-21 12:52:12 +02:00
robot-ch-test-poll2
65136ca64c
Merge pull request #52380 from ClickHouse/fix-test-for-parallel-formatting
...
Fix `02122_parallel_formatting_XML `
2023-07-21 12:50:42 +02:00
alesapin
8ff54591dd
Merge pull request #52283 from ClickHouse/fix-01111_create_drop_replicated_db_stress
...
Fix test `01111_create_drop_replicated_db_stress`
2023-07-21 12:34:10 +02:00
Amos Bird
2cad81731b
Try to fix style issues
2023-07-21 16:47:23 +08:00
Amos Bird
8187118232
Better code
2023-07-21 16:47:23 +08:00
Amos Bird
53d77e6b13
Add back missing projection QueryAccessInfo.
2023-07-21 16:47:22 +08:00
StianBerger
d2dba496bf
Update date-time-functions.md
...
formatDateTime %r for 12-hour time, mentioned %H in equivalent, which is 24H. Replaced with %h.
2023-07-21 10:26:01 +02:00
Alexander Gololobov
0c2ea94efe
Update test
2023-07-21 09:57:32 +02:00
Amos Bird
68e7583dbf
reorganize tests and add some comments
2023-07-21 14:54:51 +08:00
Amos Bird
5560603321
optimize_use_implicit_projections=1 by default
2023-07-21 14:54:50 +08:00
Amos Bird
ec22337284
Fix index analysis with indexHint as well
2023-07-21 14:54:50 +08:00
Nikolai Kochetov
d7bb006c23
Fix monotonic chain for read-in-order as well.
2023-07-21 14:54:49 +08:00
Amos Bird
60488e2391
Add tests
2023-07-21 14:54:49 +08:00
Amos Bird
696818b340
Don't check monotonicity when analyze projections
2023-07-21 14:54:48 +08:00
Amos Bird
9b0eb9cdd7
ignore ast opt when doing projection calc
2023-07-21 14:54:48 +08:00
Antonio Andelic
234b5047b5
Merge pull request #52373 from ClickHouse/fix-test_keeper_session
...
Fix `test_keeper_session`
2023-07-21 08:33:37 +02:00
Alexander Gololobov
fe7cff5c1c
Added move_primary_key_columns_to_end_of_prewhere setting
2023-07-21 08:14:57 +02:00
Alexander Gololobov
51e81b37a4
Move condtions with columns from PK to the end of PREWHERE chain
2023-07-21 08:14:57 +02:00
Alexander Gololobov
06c1e686a4
Merge pull request #46365 from ClickHouse/split_prewhere_dag_test_enable
...
Multi-stage PREWHERE enabled by default
2023-07-21 08:13:55 +02:00
Dmitry Kardymon
5124f74fcc
Merge remote-tracking branch 'origin/master' into ADQM-996
2023-07-21 05:54:36 +00:00
Azat Khuzhin
f0e277f94a
Rename TaskStatsInfoGetter into NetlinkMetricsProvider
...
There is ProcfsMetricsProvider, so by analogy to it.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-21 06:48:18 +02:00
Duc Canh Le
1ae6621f56
Merge branch 'master' into range_dict_no_direct_join
2023-07-21 09:25:42 +08:00
lgbo-ustc
24371c33bf
remove DelayedBlocksTask::finish
2023-07-21 09:24:16 +08:00
Alexey Milovidov
f8f9f86ec6
Merge pull request #52377 from AlexBykovski/patch-1
...
Update build-osx.md
2023-07-20 23:57:39 +03:00
Alexander Tokmakov
09e6bbc0e2
Update DataPartsExchange.cpp
2023-07-20 21:10:59 +03:00
Kseniia Sumarokova
045ecdf71f
Update src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp
...
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-07-20 19:03:06 +02:00
Kseniia Sumarokova
500f1e6757
Follow up to #49698
2023-07-20 18:55:41 +02:00
Nikita Mikhaylov
6b3a508a23
Done
2023-07-20 16:52:45 +00:00
Nikita Mikhaylov
920887f315
Done
2023-07-20 16:43:59 +00:00
Han Fei
4b0be1e535
Merge pull request #52308 from amosbird/fix_48823
...
Fix projection analysis with primary key analysis
2023-07-20 18:25:21 +02:00
Raúl Marín
13f8d72f54
Wait for zero copy replication lock even if some disks don't support it
2023-07-20 18:04:26 +02:00
Michael Kolupaev
97e54d6eba
Fix test_backup_restore_on_cluster flakiness caused by missing replica syncs
2023-07-20 15:57:29 +00:00
AlexBykovski
e6624a07e4
Update build-osx.md
...
syntax error in command for compiler for OSx compilation
2023-07-20 18:54:48 +03:00
Alexander Tokmakov
a39ba00ec3
Merge pull request #52116 from aalexfvk/http_failover
...
Handle multiple resolved IPs for HTTP/HTTPS session connection
2023-07-20 18:25:45 +03:00
robot-clickhouse
a26de1b370
Automatic style fix
2023-07-20 15:12:55 +00:00
Alexander Tokmakov
dd99bb465c
Merge pull request #52374 from ClickHouse/tavplubix-patch-8
...
Update ci-slack-bot.py
2023-07-20 18:08:56 +03:00
Nikolai Kochetov
ea252e2f61
Disable analyzer setting in backward_compatibility integration tests.
2023-07-20 15:05:07 +00:00
Alexander Tokmakov
c0aa3e4567
Update ci-slack-bot.py
2023-07-20 17:59:43 +03:00