Commit Graph

92731 Commits

Author SHA1 Message Date
Nikolai Kochetov
93bf22f585 Fix data race in CompletedPipelineExecutor. 2022-07-12 17:59:31 +00:00
Nikolai Kochetov
8efbe6d44d
Merge pull request #39119 from ClickHouse/removed-projection-and-old-part
Properly remove projection from part in case it was removed from table metadata.
2022-07-12 16:24:30 +02:00
Nikolai Kochetov
582300e08c
Update 01701_clear_projection_and_part_remove.sql
Fix typo
2022-07-12 16:22:47 +02:00
Robert Schulze
69de9ee0e8
Merge pull request #39108 from ClickHouse/prefix_cmake_commands
Prefix overridden add_executable() command with "clickhouse_"
2022-07-12 15:05:48 +02:00
alesapin
215166912c
Merge pull request #39069 from ClickHouse/keeper-persist-state
Persist state of ClickHouse Keeper
2022-07-12 13:32:02 +02:00
Alexander Tokmakov
948f15eff3
Update run.sh 2022-07-12 14:01:53 +03:00
Alexander Tokmakov
c99fe6e6c8
Merge branch 'master' into removed-projection-and-old-part 2022-07-12 14:00:55 +03:00
Alexander Tokmakov
b35ad0dbdc
Merge pull request #39091 from ClickHouse/tavplubix-patch-1
Follow-up to #39036
2022-07-12 13:47:37 +03:00
Nikolai Kochetov
945b5d4b3f
Merge pull request #38993 from azat/fix-fsync_part_directory-on-fetch
Fix fsync_part_directory for fetches
2022-07-12 11:48:42 +02:00
Nikolai Kochetov
cd4211298e Fix typo. 2022-07-12 09:37:00 +00:00
Nikolai Kochetov
03d9301425 Fix log. 2022-07-12 08:31:09 +00:00
Nikolai Kochetov
631be9219b Properly remove projection from part in case it was removed from table metadata. 2022-07-12 08:28:22 +00:00
Antonio Andelic
6dcdf0fcb1 Throw CORRUPTED_DATA in debug mode for invalid checksum 2022-07-12 06:41:58 +00:00
Alexey Milovidov
d0e6f8ebc1
Update clickhouse-obfuscator.md 2022-07-11 21:26:27 +03:00
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
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
Kseniia Sumarokova
e82485f65a
Update DiskObjectStorageTransaction.cpp 2022-07-11 16:50:09 +02: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
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
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
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
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
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
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
Alexey Milovidov
97eb121714
Merge pull request #39040 from tylerhannan/ScaleFlux_CSD_3000
add ScaleFlux CSD3000 Benchmark
2022-07-09 08:21:20 +03:00
Alexey Milovidov
a7d510745b
Merge pull request #38754 from azat/tests-aggregate_state_exception_memory_leak-fix
tests: make aggregate_state_exception_memory_leak deterministic
2022-07-09 08:20:25 +03:00