Commit Graph

93046 Commits

Author SHA1 Message Date
Robert Schulze
c2e4fde0e2
Link only necessessary stuff for self-extracting-executable 2022-07-11 19:48:49 +02:00
Robert Schulze
1a7727a254
Prefix overridden add_executable() command with "clickhouse_"
A simple HelloWorld program with zero includes except iostream triggers
a build of ca. 2000 source files. The reason is that ClickHouse's
top-level CMakeLists.txt overrides "add_executable()" to link all
binaries against "clickhouse_new_delete". This links against
"clickhouse_common_io", which in turn has lots of 3rd party library
dependencies ... Without linking "clickhouse_new_delete", the number of
compiled files for "HelloWorld" goes down to ca. 70.

As an example, the self-extracting-executable needs none of its current
dependencies but other programs may also benefit.

In order to restore access to the original "add_executable()", the
overriding version is now prefixed. There is precedence for a
"clickhouse_" prefix (as opposed to "ch_"), for example
"clickhouse_split_debug_symbols". In general prefixing makes sense also
because overriding CMake commands relies on undocumented behavior and is
considered not-so-great practice (*).

(*) https://crascit.com/2018/09/14/do-not-redefine-cmake-commands/
2022-07-11 19:36:18 +02:00
Sergei Trifonov
6ed777d2a8 add azure support 2022-07-11 19:19:57 +02:00
Alexey Milovidov
e12c2634df Update some texts 2022-07-11 18:47:27 +02:00
Kseniia Sumarokova
00dedc4e00
Merge pull request #39092 from ClickHouse/kssenii-patch-4
Update registerDiskS3.cpp
2022-07-11 18:05:28 +02:00
Kseniia Sumarokova
148fd05a6a
Merge pull request #39102 from ClickHouse/kssenii-patch-5
Remove some debug logging
2022-07-11 18:00:24 +02:00
Sergei Trifonov
add0d1698e respect new limits in HDFS 2022-07-11 17:30:23 +02:00
Vladimir Chebotarev
f746187225 Fixed style. 2022-07-11 17:53:05 +03:00
Kseniia Sumarokova
e82485f65a
Update DiskObjectStorageTransaction.cpp 2022-07-11 16:50:09 +02:00
avogar
fca9d75e82 Fix code in getLeastSupertype function 2022-07-11 14:47:51 +00:00
Ilya Yatsishin
109371f08f
Merge pull request #37295 from IhostVlad/patch-1
Update materializedview.md
2022-07-11 16:01:39 +02:00
Nikolai Kochetov
5fe01ef913
Update 01643_replicated_merge_tree_fsync_smoke.sql 2022-07-11 15:59:56 +02:00
Sergei Trifonov
43779ec280 add max_remote_{read,write}_network_bandwidth_for_server settings 2022-07-11 14:59:39 +02:00
Antonio Andelic
568ba5d3cc Address PR comments 2022-07-11 12:56:09 +00:00
Antonio Andelic
efc7f5c534 Merge branch 'master' into keeper-persist-state 2022-07-11 12:43:06 +00:00
Kseniia Sumarokova
24f933cf75
Update registerDiskS3.cpp 2022-07-11 14:21:18 +02:00
Kseniia Sumarokova
3998a10c01
Update registerDiskS3.cpp 2022-07-11 14:19:09 +02:00
Alexander Tokmakov
e9ddbc247f
Merge pull request #39016 from Algunenano/clearOldLogs_zkerror
clearOldLogs: Don't report KEEPER_EXCEPTION on concurrent deletes
2022-07-11 15:16:18 +03:00
Alexander Tokmakov
048d27189e
Update MergeTreeData.cpp 2022-07-11 15:07:31 +03:00
Kruglov Pavel
57a719bafd
Merge pull request #39037 from amosbird/index-fix-1-again
Fix toHour() monotonicity which can lead to incorrect query result (incorrect index analysis) (second try)
2022-07-11 13:36:01 +02:00
Ilya Yatsishin
cc8810e72a Druid: check correct result in check query 2022-07-11 11:23:20 +00:00
Vladimir C
ca2e27aaa2
Merge pull request #37841 from vdimir/perf-save-to-stat
Send perf tests results to ci database
2022-07-11 13:07:40 +02:00
Alexey Milovidov
ae46bf985e
Merge pull request #39087 from ClickHouse/add-threadripper
Add results from Threadripper
2022-07-11 10:48:17 +03:00
Vladimir Chebotarev
30bdc7e98f Better style. 2022-07-11 10:41:19 +03:00
Vladimir Chebotarev
9ca8c035f2 Added test for missing DeleteObjects request. 2022-07-11 10:22:06 +03:00
Alexey Milovidov
0ef3af67f8 Merge branch 'master' into compatible-benchmark 2022-07-11 08:43:14 +02:00
Alexey Milovidov
4c62c7762f Add results from Threadripper 2022-07-11 08:32:09 +02:00
Robert Schulze
5b8e448c7e
Merge pull request #39012 from ClickHouse/fix-crashing-stringsearch-with-empty-needle
Don't throw Logical error in functions multiMatch[Fuzzy](AllIndices/Any/AnyIndex)() with empty needle
2022-07-11 08:13:52 +02:00
Alexey Milovidov
4bac70f1e6 Minor modifications 2022-07-11 08:08:40 +02:00
Vladimir Chebotarev
92880d7840 Fixed test. 2022-07-11 08:31:58 +03:00
kssenii
dd9651a6ca Better 2022-07-10 22:42:16 +02:00
Antonio Andelic
e4f7635df7 Format 2022-07-10 19:10:27 +00:00
Antonio Andelic
0251771dc5 Fix jepsen tests 2022-07-10 19:10:18 +00:00
Antonio Andelic
f2f764fa1a Merge branch 'keeper-persist-state-checksum' into keeper-persist-state 2022-07-10 15:16:44 +00:00
Antonio Andelic
183f5cc940 Add checksum to the state file 2022-07-10 15:01:38 +00:00
Kseniia Sumarokova
18f93b15fc
Merge pull request #39070 from kssenii/fix-cache-bug
Fix for fs cache
2022-07-10 16:54:08 +02:00
Antonio Andelic
2b26865f90 Unit test fixes 2022-07-10 14:40:08 +00:00
Vitaly Baranov
6fce17584c
Merge pull request #39046 from vitlibar/restore-on-cluster-async-on-replicas
BACKUP/RESTORE ON CLUSTER use async mode on replicas now.
2022-07-10 15:54:51 +02:00
kssenii
7501d5e59c Fix 2022-07-10 12:42:43 +02:00
Antonio Andelic
4622084d2a Add test for persisted state 2022-07-10 09:47:04 +00:00
Antonio Andelic
f60074e9ec Make state durable 2022-07-10 09:33:49 +00:00
Antonio Andelic
37f799550b
Merge pull request #38072 from lingpeng0314/master
Add Keeper related monitoring data
2022-07-10 09:39:57 +02:00
Alexey Milovidov
61e42840b5 More DBMS 2022-07-10 08:54:54 +02:00
Kseniia Sumarokova
3eb8c7f158
Merge pull request #38792 from xiedeyantu/fix-support-parallel-write
Fixed parallel writes for S3 does not work
2022-07-09 23:15:56 +02:00
Yakov Olkhovskiy
3432768dc3 Parameter --decompressor added, architecture-agnostic metadata, bugs fixed, some improvements 2022-07-09 16:05:12 -04:00
kssenii
4c88527c8e Review fixes 2022-07-09 19:35:07 +02:00
kssenii
e04d6e4033 Update test 2022-07-09 16:54:01 +02:00
alesapin
d222f238f0
Merge pull request #39030 from ClickHouse/fix-overcommit-logging
Remove logging from OvercommitTracker to avoid deadlocks
2022-07-09 13:47:29 +02:00
alesapin
f00069fdb6
Merge pull request #39036 from ClickHouse/tavplubix-patch-1
Fix 'Tried to lock part ... for removal second time'
2022-07-09 13:45:40 +02:00
kssenii
6d3471ad69 Merge master 2022-07-09 13:13:51 +02:00