Commit Graph

43817 Commits

Author SHA1 Message Date
Alexey Milovidov
d7782f6518 Merge branch 'fix_keyed_hash' of github.com:nickitat/ClickHouse into many-fixes-3 2023-07-06 02:47:51 +02:00
Alexey Milovidov
1a24bface0
Merge branch 'master' into clickhouse-local-default-settings 2023-07-06 03:30:11 +03:00
Alexey Milovidov
db14b2c54f Remove useless logs 2023-07-06 02:16:38 +02:00
Yakov Olkhovskiy
8c46ce0bd4
Merge branch 'master' into fix-tsan-thread-local 2023-07-05 19:25:12 -04:00
Alexey Milovidov
b75a83d32d Merge remote-tracking branch 'origin/vdimir/anti_join_logical_error_51312' into many-fixes-3 2023-07-06 01:21:38 +02:00
Alexey Milovidov
85e7d40755
Merge branch 'master' into add-test-43358 2023-07-06 02:20:28 +03:00
Alexey Milovidov
2c592a6a2c
Merge pull request #51805 from ClickHouse/fix_for_parallel_replicas_and_empty_header
Fix for parallel replicas not completely disabled by granule count threshold
2023-07-06 01:46:52 +03:00
Alexey Milovidov
b28fa1f054 Merge branch 'many-fixes-3' of github.com:ClickHouse/ClickHouse into many-fixes-3 2023-07-05 23:54:48 +02:00
Alexey Milovidov
9bcc85d60f Merge branch 'fix-drop-column-sparse' of github.com:CurtizJ/ClickHouse into many-fixes-3 2023-07-05 23:54:27 +02:00
Alexey Milovidov
7a593ed9a5
Merge pull request #51655 from rschu1ze/re2-absl
Minor follow-up to re2 update to 2023-06-02 (#50949)
2023-07-06 00:52:16 +03:00
Alexey Milovidov
d1a8d0590e
Merge branch 'master' into many-fixes-3 2023-07-06 00:46:11 +03:00
Alexey Milovidov
157ef96687
Merge branch 'master' into master 2023-07-06 00:43:07 +03:00
Kseniia Sumarokova
998e038c9d
Merge pull request #51208 from kssenii/resubmit-51149
Resubmit #48821
2023-07-05 23:26:20 +02:00
Alexey Milovidov
4527ffb88f
Merge pull request #49764 from ClickHouse/bgmem
Fix flaky tests caused by OPTIMIZE FINAL failing memory budget check
2023-07-06 00:15:55 +03:00
Sema Checherinda
41b406970e
Merge branch 'master' into write-to-finalized 2023-07-05 23:08:31 +02:00
Igor Nikonov
023df888d3
Merge branch 'master' into fix_logical_error_grace_hash_join 2023-07-05 21:38:36 +02:00
lcjh
ce8b0cae82
remove duplicate condition 2023-07-06 02:14:48 +08:00
alekar
df87b79f71
Merge branch 'master' into fix-to-outfile 2023-07-05 10:52:09 -07:00
Feng Kaiyu
f7640ff573
fix: correct exception message on policies comparison 2023-07-06 01:27:20 +08:00
Igor Nikonov
bf190381f5 addJoinedBlock -> addBlockToJoin 2023-07-05 17:03:18 +00:00
Ilya Yatsishin
f0f6515178 Merge remote-tracking branch 'origin/fix-test-object-type' into many-fixes-3 2023-07-05 17:10:11 +02:00
Ilya Yatsishin
c052f42a20 Merge remote-tracking branch 'origin/fix-tsan-transform' into many-fixes-3 2023-07-05 17:07:42 +02:00
Duc Canh Le
8f1ed5c90d add more check + line break 2023-07-05 15:04:38 +00:00
Duc Canh Le
1a0b2d0e24
Merge branch 'master' into ch_fix_segfault 2023-07-05 22:59:13 +08:00
Duc Canh Le
1da413e64e fix segfault when create invalid EmbeddedRocksdb table 2023-07-05 14:56:11 +00:00
Han Fei
095b75e2c7
Merge pull request #51837 from ucasfl/unused
remove unused code
2023-07-05 16:21:40 +02:00
flynn
e175be1f42 remove unused code 2023-07-05 12:34:58 +00:00
Alexander Gololobov
5512c307db system.jemalloc_bins table 2023-07-05 14:34:03 +02:00
Yatsishin Ilya
fd4f738502 Merge remote-tracking branch 'origin' into per-column-pk-syntax 2023-07-05 12:30:26 +00:00
Yatsishin Ilya
e957600d5c wip 2023-07-05 12:28:27 +00:00
Alexey Milovidov
76316f9cc8
Merge pull request #51578 from ClickHouse/remove-analyzer-setting-client
Remove the usage of Analyzer setting in the client
2023-07-05 14:49:39 +03:00
Dmitry Kardymon
86014a60a3 Fixed case with spaces before delimiter 2023-07-05 11:42:02 +00:00
Anton Popov
cf809c25cd fix CLEAR COLUMN query 2023-07-05 11:24:29 +00:00
kssenii
e6422f8144 Delete comment, rename variable 2023-07-05 13:08:11 +02:00
Kseniia Sumarokova
244b30d659
Merge branch 'master' into resubmit-51149 2023-07-05 12:12:21 +02:00
Kseniia Sumarokova
dcda3576d2
Merge branch 'master' into add-separate-access-for-use-named-collections 2023-07-05 12:05:49 +02:00
Han Fei
2e5643cc41 use UTC LUT 2023-07-05 11:57:18 +02:00
李扬
bb301cfbb0
Merge branch 'master' into improve_geohash 2023-07-05 17:57:03 +08:00
Kseniia Sumarokova
f2d942fbb5
Merge branch 'master' into more-flexible-drop-cache 2023-07-05 11:43:57 +02:00
xiaolei565
c47b797515
Merge branch 'master' into xuelei_dev 2023-07-05 17:43:47 +08:00
Kseniia Sumarokova
e897207cd5
Merge pull request #51790 from kssenii/fix-assertion
Fix after #51000
2023-07-05 11:25:00 +02:00
Han Fei
9544c035b9 Revert "refine"
This reverts commit 7f1ee68c87.
2023-07-05 11:15:31 +02:00
xiaolei565
2c5fc5ee13
Merge branch 'master' into xuelei_dev 2023-07-05 16:33:42 +08:00
robot-ch-test-poll
0fb6dd8f89
Merge pull request #51800 from Avogar/assert-current-thread
Add assert in ThreadStatus destructor for correct current_thread
2023-07-05 03:14:33 +02:00
Anton Popov
ede63a0f4e fix drop column with enabled sparse columns 2023-07-05 00:30:28 +00:00
Alexey Milovidov
6d0e6b58f3
Merge branch 'master' into remove-analyzer-setting-client 2023-07-05 02:30:17 +03:00
Alexey Milovidov
431b53a3ae
Merge branch 'master' into add-test-43358 2023-07-05 02:29:44 +03:00
Alexey Milovidov
024248ea5e
Merge branch 'master' into vdimir/anti_join_logical_error_51312 2023-07-05 02:27:03 +03:00
Alexey Milovidov
de0592fa9a
Merge branch 'master' into fix-to-outfile 2023-07-05 02:14:47 +03:00
Alexey Milovidov
a3f201f5de
Merge branch 'master' into fix-tsan-transform 2023-07-05 02:03:09 +03:00
Alexey Milovidov
a4abb81194
Merge branch 'master' into bgmem 2023-07-05 01:54:43 +03:00
Alexey Milovidov
a06532630a Merge branch 'master' into fix-test-object-type 2023-07-05 00:47:30 +02:00
Alexey Milovidov
4d87cf2344
Merge branch 'master' into qemu-chroot-fixes 2023-07-05 01:13:06 +03:00
Alexander Gololobov
c0629a38d1 Fix for incorrect result when parallel replicas not completely disabled 2023-07-04 23:50:19 +02:00
Alexey Gerasimchuck
2b77196a47
Merge branch 'master' into ADQM-970 2023-07-05 07:44:31 +10:00
Alexey Gerasimchuck
ffb7d937dd
Merge branch 'master' into ADQM-956 2023-07-05 07:44:16 +10:00
Alexey Milovidov
3a170c297a
Merge pull request #51392 from ClickHouse/disable-hedged-requests-under-tsan
Disable hedged requests under TSan
2023-07-05 00:33:17 +03:00
Alexey Milovidov
3371e038cf
Merge pull request #51498 from ClickHouse/vdimir/test_alter_moving_garbage_51342
Fix `test_alter_moving_garbage`: lock between getActiveContainingPart and swapActivePart in parts mover
2023-07-05 00:32:21 +03:00
Han Fei
7f1ee68c87 refine 2023-07-04 23:08:54 +02:00
Nikita Taranov
da105d4916 impl 2023-07-04 23:01:06 +02:00
Alexander Tokmakov
607a8a1c46 fix 2023-07-04 22:52:59 +02:00
Alexander Tokmakov
42222662e6 Merge branch 'master' into fix_broken_parts_handling 2023-07-04 22:46:35 +02:00
Alexey Milovidov
c76cf53391 Address review comments 2023-07-04 22:14:37 +02:00
Alexey Milovidov
4e8405cbda Merge branch 'master' into disks-space-improvement 2023-07-04 22:00:40 +02:00
Alexey Milovidov
5a32995726
Update src/Disks/IVolume.cpp
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-07-04 22:57:39 +03:00
Alexey Milovidov
6345879cdf
Update src/Disks/VolumeJBOD.cpp
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-07-04 22:56:58 +03:00
Yakov Olkhovskiy
bb5b47cacf do not access Exception::thread_frame_pointers if not initialized 2023-07-04 19:07:11 +00:00
Alexander Tokmakov
d987b94ed4 fix the way how broken parts are detached 2023-07-04 20:51:15 +02:00
Sema Checherinda
7b6b406af1
Merge branch 'master' into write-to-finalized 2023-07-04 20:19:51 +02:00
avogar
32ee0e7d08 Add assert in ThreadStatus destructor for correct current_thread 2023-07-04 17:35:26 +00:00
Alexey Milovidov
f0fb024ce0
Merge branch 'master' into add-test-43358 2023-07-04 20:20:59 +03:00
Alexey Milovidov
81594cc457
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-07-04 20:20:14 +03:00
Alexey Milovidov
0eeb0b418b
Merge branch 'master' into qemu-chroot-fixes 2023-07-04 20:19:53 +03:00
Alexey Milovidov
35bf33c3d9
Merge branch 'master' into fix-tsan-transform 2023-07-04 20:18:43 +03:00
Dmitry Kardymon
cce06edfa7 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 19:18:55 +03:00
Dmitry Kardymon
01c89564bc Merge remote-tracking branch 'clickhouse/master' into Fix-formatDateTime-with-fractional-negative-datetime64 2023-07-04 19:18:05 +03:00
Dmitry Kardymon
825a244aea Merge remote-tracking branch 'clickhouse/master' into ADQM-870 2023-07-04 19:16:50 +03:00
Igor Nikonov
3155f58941 Merge remote-tracking branch 'origin/master' into fix_logical_error_grace_hash_join 2023-07-04 15:47:04 +00:00
Igor Nikonov
1c2233b693 Fix style check 2023-07-04 15:46:40 +00:00
Robert Schulze
770bf8f4f3
Merge branch 'master' into re2-absl 2023-07-04 17:42:52 +02:00
Han Fei
ca6930eb11
Revert "Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"" 2023-07-04 17:38:53 +02:00
Kruglov Pavel
bab423acc2
Merge branch 'master' into disable-hedged-requests-under-tsan 2023-07-04 17:37:14 +02:00
kssenii
c979113ea5 Fix 2023-07-04 16:13:33 +02:00
kssenii
6bca452924 Fix tests 2023-07-04 12:42:27 +02:00
Vitaly Baranov
c092b9974c
Merge branch 'master' into fix-race-in-context-access 2023-07-04 12:37:41 +02:00
Kseniia Sumarokova
24bb6ed566
Merge branch 'master' into min-file-segment-size 2023-07-04 12:21:41 +02:00
Igor Nikonov
30be0ab4a8 Fix: unexpected number of buckets
Number of buckets could become inconsistent
if exception was thrown during new buckets creation
2023-07-04 09:00:53 +00:00
Igor Nikonov
f86c5edfc4 Remove debug tracing 2023-07-04 07:55:13 +00:00
Dmitry Kardymon
ab4142eb8f Merge remote-tracking branch 'clickhouse/master' into ADQM-870 2023-07-04 08:23:31 +03:00
Dmitry Kardymon
2d904c9cc4 Merge remote-tracking branch 'clickhouse/master' into Fix-formatDateTime-with-fractional-negative-datetime64 2023-07-04 08:21:48 +03:00
Dmitry Kardymon
ed16828b70 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 08:18:57 +03:00
Alexey Gerasimchuck
50d555a398 style correction 2023-07-04 02:45:15 +00:00
Alexey Gerasimchuck
49907818e1 Added waiting before crash log store finish 2023-07-04 02:32:08 +00:00
Alexey Gerasimchuck
3218624461
Merge branch 'master' into ADQM-956 2023-07-04 11:47:24 +10:00
Alexey Milovidov
c25da7cbf4 Fix (benign) data rance in transform 2023-07-04 01:03:49 +02:00
Alexey Milovidov
c65ee49a37 Revert "Merge pull request #51750 from ClickHouse/revert-51296-object_column_invalid_num_of_rows"
This reverts commit 73d956249e, reversing
changes made to 4d76b538c7.
2023-07-04 00:49:39 +02:00
Alexey Milovidov
03b8c28826
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-07-04 01:28:05 +03:00
Alexey Milovidov
d7bb68064a
Merge branch 'master' into disable-hedged-requests-under-tsan 2023-07-04 01:14:18 +03:00
Igor Nikonov
287fe91438
Merge branch 'master' into fix_logical_error_grace_hash_join 2023-07-04 00:05:11 +02:00
alekar
2236d848b6
Merge branch 'master' into fix-to-outfile 2023-07-03 15:02:46 -07:00
Igor Nikonov
6742432fd2 Number of bucket always increased by 2, so there is no reason provide it as parameter 2023-07-03 21:58:56 +00:00
Anton Popov
fd4a14d56b
Merge branch 'master' into system.parts_column_modification_time 2023-07-03 23:28:03 +02:00
Alexey Milovidov
912fda680e
Merge branch 'master' into add-test-43358 2023-07-04 00:17:07 +03:00
Alexander Tokmakov
ec5c9a0137
Revert "Fix: Invalid number of rows in Chunk column Object" 2023-07-03 23:43:38 +03:00
velavokr
dcc0076ded fixed comment 2023-07-03 19:10:39 +03:00
velavokr
ae87d43f88 test fixes 2023-07-03 19:10:39 +03:00
velavokr
2f85d048ae bugfix 2023-07-03 19:10:39 +03:00
velavokr
66227ce8d3 #51292 added default_temporary_table_engine setting 2023-07-03 19:10:39 +03:00
Vitaly Baranov
8dd1b7b8b9
Merge branch 'master' into add-hex-functions-for-cityhash 2023-07-03 18:00:33 +02:00
Igor Nikonov
ccda3c3a6e Try to fix logical error #51703 2023-07-03 15:03:40 +00:00
Anton Popov
8bd6532ca7
Merge pull request #51296 from ClickHouse/object_column_invalid_num_of_rows
Fix: Invalid number of rows in Chunk column Object
2023-07-03 15:40:41 +02:00
kssenii
ac77f5fe6f Merge remote-tracking branch 'upstream/master' into add-separate-access-for-use-named-collections 2023-07-03 13:55:45 +02:00
Alexander Gololobov
eff94f5100
Merge pull request #51610 from ClickHouse/fix_move_in_to_prewhere
Fix for moving 'IN' conditions to PREWHERE
2023-07-03 13:55:32 +02:00
Kseniia Sumarokova
37dcc36c50
Merge branch 'master' into min-file-segment-size 2023-07-03 13:52:28 +02:00
kssenii
2feb2c0f70 Fix style check 2023-07-03 13:47:08 +02:00
Azat Khuzhin
22e44ced8a Add column modification time into system.parts_columns
This can be useful to obtain at least some time for the part after
mutations, since mutations will change the modification time of all
parts.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-03 13:34:05 +02:00
Kseniia Sumarokova
19508a01a5
Merge branch 'master' into resubmit-51149 2023-07-03 13:12:53 +02:00
kssenii
c4fb532f93 Better 2023-07-03 13:02:10 +02:00
kssenii
b82061ed2d Merge remote-tracking branch 'origin/more-flexible-drop-cache' into more-flexible-drop-cache 2023-07-03 12:38:55 +02:00
kssenii
c575dc37b3 Remove redundant change 2023-07-03 12:38:12 +02:00
Alexander Tokmakov
ce5ca7d2a5
Merge pull request #51502 from ClickHouse/fix_logical_error_on_mutation
Fix a logical error on mutation
2023-07-03 12:52:59 +03:00
Sergei Trifonov
4e099086cd
Merge branch 'master' into fix-shutdown-race 2023-07-03 11:15:34 +02:00
Robert Schulze
fe49e98455
Follow-up to re2 update 2023-06-02 (#50949) 2023-07-03 08:28:25 +00:00
Antonio Andelic
50c1a7fda1
Merge pull request #50098 from ClickHouse/keeper-with-disks
Support for `IDisk` in Keeper
2023-07-03 09:11:06 +02:00
Ilya Yatsishin
cc448f0f0b
Merge branch 'master' into fix-race-in-context-access 2023-07-03 01:10:31 +02:00
Alexander Tokmakov
392b70d6f8
fix merge_selecting_task scheduling (#51591)
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-07-02 19:30:18 +03:00
Alexander Tokmakov
43dba76cbf
Merge branch 'master' into fix_logical_error_on_mutation 2023-07-02 19:30:00 +03:00
Vitaly Baranov
35d1b8448b
Merge branch 'master' into add-hex-functions-for-cityhash 2023-07-02 01:32:54 +02:00
Antonio Andelic
eba60dd81e
Merge branch 'master' into keeper-with-disks 2023-07-01 20:59:16 +02:00
Antonio Andelic
4f5926153f
Merge branch 'master' into fix-async-insert-dedup-for-merging-algorithms 2023-07-01 20:59:06 +02:00
Alexander Gololobov
f36f981f15 Move adding CreateSets to the end of optimizations, after applying key conditions and indexes 2023-07-01 20:05:18 +02:00
Alexander Gololobov
05d399c0b3 Handle subqueries and sets when collecting table columns 2023-07-01 20:05:18 +02:00
Sema Checherinda
3ff5d43dec
Merge branch 'master' into write-to-finalized 2023-07-01 19:40:16 +02:00
Sema Checherinda
8b4fda9672
Merge pull request #51697 from CheSema/less-logs-3
do not log exception aborted for pending mutate/merge entries when shutdown
2023-07-01 19:38:35 +02:00
Sema Checherinda
bd3d6d4976
Merge pull request #51404 from CheSema/no-finalize-WriteBufferFromOStream
no finalize in d-tor WriteBufferFromOStream
2023-07-01 19:37:54 +02:00
Kseniia Sumarokova
b049f70b0e
Merge branch 'master' into more-flexible-drop-cache 2023-07-01 17:38:25 +02:00
kssenii
4f10a65a12 Fix 2023-07-01 15:09:23 +02:00
Kseniia Sumarokova
35f022cfaf
Merge pull request #51684 from ClickHouse/serxa-patch-3
Remove unused code
2023-07-01 13:17:47 +02:00
Kseniia Sumarokova
9f5bd8f853
Merge branch 'master' into cache-add-checks 2023-07-01 13:06:18 +02:00
Kseniia Sumarokova
b4aa0b3e6e
Merge branch 'master' into more-flexible-drop-cache 2023-07-01 12:59:43 +02:00
Kseniia Sumarokova
c616634972
Merge pull request #51552 from kssenii/allow-adding-disk-name-for-custom-disk
Allow to add disk name for custom disks
2023-07-01 12:52:14 +02:00
Sema Checherinda
d8e64631cd
Merge branch 'master' into write-to-finalized 2023-07-01 11:03:02 +02:00
Antonio Andelic
5e1cfb0531 Avoid copying block if optimize_on_insert is false 2023-07-01 08:53:23 +00:00
Antonio Andelic
0c31055663 Merge branch 'master' into fix-async-insert-dedup-for-merging-algorithms 2023-07-01 08:34:22 +00:00
alekar
bcf3b710d7
Merge branch 'master' into fix-to-outfile 2023-06-30 16:32:18 -07:00
Sema Checherinda
80b23a59dc
Merge branch 'master' into less-logs-3 2023-06-30 22:59:55 +02:00
Igor Nikonov
2054f630be Merge remote-tracking branch 'origin/master' into object_column_invalid_num_of_rows 2023-06-30 20:41:56 +00:00
Igor Nikonov
5d652c4fd5 Finalize ColumnObject with only default values 2023-06-30 20:41:14 +00:00
Sema Checherinda
f6ad94d5bc
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-30 22:12:31 +02:00
Sema Checherinda
fe17a9b589 do not log aborted for pending mutate/merge when shutdown 2023-06-30 19:36:32 +02:00
Sema Checherinda
50449cc68d fix write to finalized buffer 2023-06-30 19:12:13 +02:00
kssenii
87d2447570 Merge remote-tracking branch 'upstream/master' into more-flexible-drop-cache 2023-06-30 18:22:45 +02:00
Alexey Milovidov
6f6ddb4d13
Merge pull request #51689 from ClickHouse/23.7-prepare
Update version after release
2023-06-30 18:27:14 +03:00
Alexey Milovidov
5ee7f47b03 Update autogenerated version to 23.7.1.1 and contributors 2023-06-30 17:09:56 +02:00
Yakov Olkhovskiy
023e40535a
Merge pull request #51349 from ClickHouse/ft-thread-scheduling-stacktrace
Collect stack traces from job's scheduling and print along with exception's stack trace.
2023-06-30 11:01:58 -04:00
kssenii
cc7493f076 Merge remote-tracking branch 'upstream/master' into min-file-segment-size 2023-06-30 16:37:11 +02:00
Sema Checherinda
c45fed58fc
Merge branch 'master' into less-logs-2 2023-06-30 15:55:17 +02:00
Sergei Trifonov
48eb188065
Remove unused code 2023-06-30 15:53:37 +02:00
Azat Khuzhin
030999692c
Merge branch 'master' into allocator-tunning 2023-06-30 15:47:35 +02:00
Antonio Andelic
2058b1346e Merge branch 'master' into keeper-with-disks 2023-06-30 13:22:33 +00:00
Vitaly Baranov
2311dd9b5d Use TSA_GUARDED_BY() macro in the definition of ContextAccess. 2023-06-30 15:18:54 +02:00
Sergei Trifonov
c8d6aa8b90
Merge branch 'master' into fix-shutdown-race 2023-06-30 15:12:21 +02:00
Alexander Tokmakov
d572eff106
Merge branch 'master' into fix_logical_error_on_mutation 2023-06-30 15:12:35 +03:00
Antonio Andelic
9a79fd6f70 Better 2023-06-30 11:51:20 +00:00
kssenii
58f2919971 Fix 2023-06-30 13:26:40 +02:00
Vitaly Baranov
f134153f4e Fix race with "user_was_dropped" in ContextAccess. 2023-06-30 13:13:11 +02:00
Kseniia Sumarokova
f6742f61cb
Merge branch 'master' into fix-logical-error-read-unexpected-size 2023-06-30 13:02:49 +02:00
Antonio Andelic
24ae56b5dd Correctly apply async deduplication for nonordinary ReplicatedMergeTree tables 2023-06-30 11:02:16 +00:00
Sema Checherinda
d0d12bbf3b
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-30 12:15:17 +02:00
Kruglov Pavel
a628bbb1f5 Fix tests 2023-06-30 10:14:39 +00:00
Alexey Milovidov
b0d4c9c83b Disable hedged requests under TSan 2023-06-30 10:14:39 +00:00
Michael Kolupaev
2b55734ccf
Fix MergeTreeMarksLoader segfaulting if marks file is longer than expected (#51636)
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-30 11:52:03 +02:00
Alexey Milovidov
0f2d731f1b
Merge branch 'master' into add-test-43358 2023-06-30 12:17:52 +03:00
Alexey Milovidov
2a7ae8f622
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-06-30 12:16:49 +03:00
Alexey Milovidov
93578c5003
Merge branch 'master' into qemu-chroot-fixes 2023-06-30 12:16:30 +03:00
Robert Schulze
6872084051
Merge pull request #50949 from georgthegreat/update-re2
Update contrib/re2 to 2023-06-02
2023-06-30 10:40:17 +02:00
Alexey Milovidov
1e6f6b522c
Merge pull request #51180 from ClickHouse/update-tests-docker
Update tests' docker containers
2023-06-30 11:24:59 +03:00
Antonio Andelic
3b7f6a4324
Merge pull request #50796 from ClickHouse/keeper-add-api-version-config
Add feature flags for Keeper API
2023-06-30 09:20:52 +02:00
Sema Checherinda
e724397d13
Merge branch 'master' into less-logs-2 2023-06-30 08:02:22 +02:00
Sema Checherinda
2a1f34e3f9
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-30 08:01:05 +02:00
Manas Alekar
3c4491b706 Ignore APPEND and TRUNCATE modifiers if file does not exist. 2023-06-29 14:31:40 -07:00
Alexey Milovidov
cf60f45885
Merge branch 'master' into add-test-43358 2023-06-29 23:14:08 +03:00
Alexey Milovidov
9a9f992489
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-29 23:13:32 +03:00
Alexey Milovidov
068b2b6ab9
Merge branch 'master' into vdimir/test_alter_moving_garbage_51342 2023-06-29 23:12:25 +03:00
Alexey Milovidov
2474fc0b9f
Merge branch 'master' into qemu-chroot-fixes 2023-06-29 22:38:09 +03:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2 2023-06-29 22:36:33 +03:00
kssenii
7a98e2b1cd Merge remote-tracking branch 'upstream/master' into min-file-segment-size 2023-06-29 19:36:13 +02:00
kssenii
f12c257dc9 Fix 2023-06-29 19:25:46 +02:00
Alexander Tokmakov
a28728b7e5 Update DatabaseReplicatedWorker.cpp
(cherry picked from commit 43fc1af1b3)
2023-06-29 19:04:49 +02:00
Ilya Yatsishin
fe43b4d62f
Merge pull request #51499 from ClickHouse/qoega-patch-5
Fix segfault in MathUnary
2023-06-29 18:23:33 +02:00
Kseniia Sumarokova
65ecf79a0f
Update getOrCreateDiskFromAST.cpp 2023-06-29 17:52:59 +02:00
Kseniia Sumarokova
4b9fa5bab3
Merge branch 'master' into minor-fix-cache 2023-06-29 17:06:08 +02:00
kssenii
44246363e2 Fix test 2023-06-29 15:37:36 +02:00
Vitaly Baranov
0cccba62cf Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter. 2023-06-29 15:29:37 +02:00
Kseniia Sumarokova
2a4cfeb01b
Add comment 2023-06-29 15:27:40 +02:00
vdimir
4581526af7
Remove has_null_map template parameter from hash join 2023-06-29 13:24:55 +00:00
vdimir
c43acc6f90
better fix 2023-06-29 13:19:04 +00:00
Alexander Tokmakov
bac126fe3e fix 2023-06-29 15:11:02 +02:00
vdimir
f1d6954637
Fix logical error in ANTI join with NULL 2023-06-29 13:09:55 +00:00
kssenii
b56d1602e8 Invalidate opened file cache when removing file 2023-06-29 14:25:13 +02:00
Alexander Tokmakov
66b6f61aa8
Merge pull request #51563 from ClickHouse/tavplubix-patch-6
Try to fix deadlock in ZooKeeper client
2023-06-29 15:03:04 +03:00
Kseniia Sumarokova
f73d878632
Update src/Disks/getOrCreateDiskFromAST.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-06-29 13:31:41 +02:00
Ilya Yatsishin
32d00dc88f
Merge branch 'master' into qoega-patch-5 2023-06-29 13:30:47 +02:00
kssenii
306ca66eb4 Fix 2023-06-29 13:11:22 +02:00
kssenii
4ba334c983 Review fix 2023-06-29 13:01:31 +02:00
Sema Checherinda
919bf54294 fix race condition 2023-06-29 12:38:46 +02:00
Vitaly Baranov
fb6243ec9d
Merge pull request #51040 from vitlibar/reorder-part-checksum-halves
Show halves of checksums in correct order
2023-06-29 12:04:51 +02:00
xiaolei565
d3d3a215ed
Merge branch 'master' into xuelei_dev 2023-06-29 17:37:56 +08:00
Antonio Andelic
6e1aec6e0b
Merge branch 'master' into keeper-add-api-version-config 2023-06-29 11:36:49 +02:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace 2023-06-29 11:38:54 +03:00
Igor Nikonov
18cb040342
Merge pull request #51540 from ClickHouse/fix_hash_dict_detach_thread
Fix FATAL: query context is not detached from thread group
2023-06-29 10:36:03 +02:00
Igor Nikonov
a8aa6b55d1
Merge branch 'master' into fix_hash_dict_detach_thread 2023-06-29 10:35:09 +02:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2 2023-06-29 10:33:59 +02:00
Alexey Milovidov
a4d7e48bc9
Merge branch 'master' into resubmit-51149 2023-06-29 11:07:01 +03:00
Alexey Milovidov
0c697b920f Remove the usage of Analyzer setting in the client 2023-06-29 06:58:53 +02:00
Alexey Milovidov
b6ca956480
Merge branch 'master' into qemu-chroot-fixes 2023-06-29 07:52:08 +03:00
Yuriy Chernyshov
19676e3a92
Merge branch 'master' into update-re2 2023-06-29 00:40:31 +02:00
Alexander Tokmakov
b27cf4e7ba fix 2023-06-29 00:15:45 +02:00
Alexander Tokmakov
45232770e0
Try to fix deadlock in ZooKeeper client 2023-06-29 00:41:23 +03:00
Alexander Tokmakov
296f9968c0 fix 2023-06-28 23:20:02 +02:00
xiaolei565
9f7df81a5c
Merge branch 'master' into xuelei_dev 2023-06-29 04:52:15 +08:00
Mikhail f. Shiryaev
f728f97350
Add cgroupsv2 for getCGroupLimitedCPUCores 2023-06-28 22:19:44 +02:00
Yakov Olkhovskiy
8854f05a75 style fix 2023-06-28 19:53:49 +00:00
Robert Schulze
5b78b3903b
Fix logical error in tupleElement() 2023-06-28 18:35:33 +00:00
Robert Schulze
bf54fb4caa
tupleElement(): Return default value for out-of-bounds-index
Makes the actual and the documented behavior consistent.
2023-06-28 18:35:32 +00:00
Robert Schulze
eea3c39959
Cosmetics 2023-06-28 18:35:27 +00:00
Nikolai Kochetov
e78f3389b7
Merge branch 'master' into fix-creating-set-for-storage-fuzz 2023-06-28 19:27:50 +02:00
robot-ch-test-poll4
aa514dc846
Merge pull request #50551 from ClickHouse/fix-ip-aggregate-state
Fix backward compatibility for IP types hashing in aggregate functions
2023-06-28 19:24:04 +02:00
Sema Checherinda
29efeb5547
Merge branch 'master' into less-logs-2 2023-06-28 19:20:14 +02:00
Azat Khuzhin
2a12fb4246 Initialize weight/slot_to_shards for cluster not from xml correcty
This is:
- clusterAllReplicas
- copier
- some distributed cases

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
c9adfe1efd Prohibit cluster with zero weight across all shards
Before it leads to SIGSEGV, due to either divizion by zero or an
a check in libdivide.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
7f8ad3d5cb Convert assert to LOGICAL_ERROR in createBlockSelector() for zero weight
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:06:31 +02:00
kssenii
39f8b92e24 Allow to add disk name for custom disk 2023-06-28 19:05:35 +02:00
Igor Nikonov
56354b7251 Fix yet another place 2023-06-28 16:55:22 +00:00
Alexander Tokmakov
372f5786c4 more optimal REPLACE_RANGE with zero-copy 2023-06-28 18:44:54 +02:00
kssenii
1d78bafa82 Flexible drop cache 2023-06-28 18:44:47 +02:00
Alexander Tokmakov
594ec09edf fix missing metadata_version.txt 2023-06-28 18:19:16 +02:00
Vitaly Baranov
5570863676
Merge branch 'master' into reorder-part-checksum-halves 2023-06-28 17:25:34 +02:00
Sema Checherinda
ecea5da70c
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-28 17:04:25 +02:00
Igor Nikonov
0b19c1832a Fix: detach from thread group 2023-06-28 14:15:03 +00:00
Alexey Milovidov
3006113e4d
Merge branch 'master' into add-test-43358 2023-06-28 17:05:51 +03:00
Ilya Yatsishin
fe6031e480
Merge branch 'master' into qoega-patch-5 2023-06-28 16:02:38 +02:00
Alexey Milovidov
a399431977
Update StoragePolicy.cpp 2023-06-28 16:40:57 +03:00
kssenii
15f64a7cb9 Add some checks 2023-06-28 15:27:10 +02:00
Kseniia Sumarokova
5a1bbe5a8d
Update CachedOnDiskReadBufferFromFile.cpp 2023-06-28 14:05:14 +02:00
xuelei
112310e98f fix storage policy prompt display error 2023-06-28 19:17:53 +08:00
xuelei
2707d06645 Merge branch 'master' of https://ghproxy.com/https://github.com/xiaolei565/ClickHouse into xuelei_dev 2023-06-28 18:39:34 +08:00
Nikolai Kochetov
a029105fd5 Fix duplicate storage set logical error. 2023-06-28 10:35:19 +00:00
Nikita Mikhaylov
b8b0fd3abf
Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
Alexey Milovidov
34f0ec0ab3
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer 2023-06-28 13:23:36 +03:00