Azat Khuzhin
f76f14a99c
Fix possible hung/deadlock on query cancellation
...
Right due to graceful cancellation of the query, it is possible to hung
accepting new queries or even have a deadlock, this is because
cancellation is done while acquiring ProcessListBase::mutex.
So this patch makes query cancellation lock-free, and now the lock will
be acquired only for preparing the query and after cancel is done.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 17:31:21 +02:00
Alexey Milovidov
1d06ddcb9a
Merge pull request #41522 from DerekChia/patch-1
...
Change input_format_skip_unknown_fields default to 1
2022-09-19 18:29:59 +03:00
kssenii
eef638d58e
Disable random settings for s3 && (tsan || debug)
2022-09-19 17:18:53 +02:00
Derek Chia
cb613b8675
Change input_format_skip_unknown_fields default to 1
...
As per PR https://github.com/ClickHouse/ClickHouse/pull/37192 , `input_format_skip_unknown_fields` is enabled by default. Likewise, it is also set as `true` in the factory settings https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.h#L696
Updating the docs to reflect the change.
2022-09-19 22:37:03 +08:00
Azat Khuzhin
e26976fff2
Add a test for hungs in case of parallel KILL QUERY (with distributed queries)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 16:31:34 +02:00
Antonio Andelic
0f92e5e576
Add option for loading only system tables from path using clickhouse-local
2022-09-19 14:18:42 +00:00
Vitaly Baranov
052ecaa211
Merge branch 'master' into improve-recovery-of-replicated-access-storage
2022-09-19 15:26:21 +02:00
Vitaly Baranov
f75dd93965
Mask some information in logs.
2022-09-19 15:00:06 +02:00
Sergei Trifonov
ff2e1ff8d8
Merge branch 'master' into support_s3_api_event_metrics
2022-09-19 14:35:45 +02:00
Sergei Trifonov
26da32f53f
Update tests/integration/test_profile_events_s3/test.py
2022-09-19 14:35:23 +02:00
Raúl Marín
e89dffbb95
Fix AggregateFunctionNullVariadic batch with null_is_skipped=false
2022-09-19 14:34:08 +02:00
Kruglov Pavel
712aebc077
Merge pull request #41083 from Avogar/fix-map-combinator
...
Fix possible segfaults, use-heap-after-free and memory leak in aggregate function combinators
2022-09-19 14:29:17 +02:00
kssenii
f8665c83da
Add retries for nats
2022-09-19 14:27:11 +02:00
Alexander Tokmakov
4e83174006
Merge pull request #41390 from ClickHouse/fix_drop_partition_on_cluster
...
Fix ON CLUSTER with Replicated database cluster
2022-09-19 15:22:30 +03:00
Alexander Tokmakov
c6efb1773e
Merge branch 'master' into fix_drop_partition_on_cluster
2022-09-19 15:18:05 +03:00
Alexander Tokmakov
1f3afe9336
Update 01233_check_table_with_metadata_cache.sh
2022-09-19 15:10:26 +03:00
Kruglov Pavel
4c3194eefe
Merge pull request #41286 from azat/utf8-fix
...
Do not allow invalid sequences influence other rows in lowerUTF8/upperUTF8
2022-09-19 14:07:10 +02:00
Kseniia Sumarokova
55ebe90e3b
Merge pull request #41496 from lesandie/master
...
Fixed cache parameter name
2022-09-19 13:36:21 +02:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow
2022-09-19 12:52:36 +02:00
serxa
a0bfa801e5
explicit ctor
2022-09-19 10:52:08 +00:00
Robert Schulze
4166f9734b
Fix non-deterministic test results uncovered by SSE2-only build
2022-09-19 10:31:39 +00:00
Sema Checherinda
2f6c5c8f75
Merge pull request #41417 from nickitat/stabilize_uniq_sorted
...
Stabilize uniq stored
2022-09-19 12:30:16 +02:00
Kseniia Sumarokova
631aad1671
Merge branch 'master' into fix-logical-error-write-through-cache
2022-09-19 12:29:55 +02:00
Sema Checherinda
f50378d551
Merge pull request #41425 from den-crane/test/issue_41394
...
test for #41394
2022-09-19 12:27:33 +02:00
Kseniia Sumarokova
8922f81399
Merge pull request #41468 from azat/tests/test_hive_query
...
tests: fix test_hive_query flakiness
2022-09-19 12:25:16 +02:00
serxa
d0ff4da781
fix create_role stateless test reference
2022-09-19 10:11:56 +00:00
Antonio Andelic
1763af37b9
Merge pull request #41403 from ClickHouse/keeper-fix-shutdown-without-server
...
Fix Keeper segfault during shutdown when RAFT server failed to start
2022-09-19 12:03:58 +02:00
Igor Nikonov
81a46b6346
Merge remote-tracking branch 'origin/master' into fix_sort_desc_when_read_in_order
2022-09-19 09:40:23 +00:00
robot-clickhouse
fc4a0e0bda
Update version_date.tsv and changelogs after v22.6.8.35-stable
2022-09-19 09:34:29 +00:00
Igor Nikonov
54c2fed9cc
Update: use type explicitly
2022-09-19 09:31:45 +00:00
Alexey Milovidov
45b6052b20
Merge branch 'master' into compress-marks
2022-09-19 10:57:05 +02:00
vdimir
a6dc99983d
Fix tidy build
2022-09-19 08:42:23 +00:00
vdimir
5c9bfbc116
Fix incorrect result in case of decimal precision loss in IN operator
2022-09-19 08:42:22 +00:00
vdimir
c2634c9fae
Revert "Throw exception on precision lost during decimal to decimal convertion"
...
This reverts commit d4233cf3c658adf2541070b1bbba678ad7c769db.
2022-09-19 08:42:22 +00:00
vdimir
c33e231ce9
Throw exception on precision lost during decimal to decimal convertion
2022-09-19 08:42:18 +00:00
Diego Nieto (lesandie)
1a14515e35
Fixed cache parameter name
2022-09-19 10:29:41 +02:00
Vladimir C
b6b5932efc
Merge pull request #41223 from ClickHouse/vdimir/exponential_rewrite_21557
2022-09-19 10:07:24 +02:00
Alexey Milovidov
b9bd2c8373
Merge pull request #41458 from ClickHouse/fix-bug-orc
...
Fix very strange behavior of Apache ORC
2022-09-19 10:43:17 +03:00
Alexey Milovidov
000b6ac81c
Fix error
2022-09-19 09:30:48 +02:00
Duc Canh Le
61d6fae14b
add settings allow_suspicious_fixed_string_types
2022-09-19 15:00:04 +08:00
Alexey Milovidov
b87d12494e
Fix build
2022-09-19 08:53:20 +02:00
Alexey Milovidov
5224fc4d7f
Fix strange code
2022-09-19 08:53:20 +02:00
Alexey Milovidov
d1275091e8
Fix strange code
2022-09-19 08:53:20 +02:00
Alexey Milovidov
6a473d8998
Merge
2022-09-19 08:53:20 +02:00
Alexey Milovidov
bb6f1bfce2
Fix 9/10 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
730655d4fd
Fix 8/9 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
42b0d444da
Fix 7/8 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
91baedf03a
Fix 6/7 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
ab4db2d0c4
Fix 5/6 of trash
2022-09-19 08:50:53 +02:00
Alexey Milovidov
84f42e0874
Fix 3/4 of trash
2022-09-19 08:50:53 +02:00