Commit Graph

93027 Commits

Author SHA1 Message Date
Vitaly Baranov
429aab2f12 Fix making a query scope for async backups. 2022-07-15 11:55:13 +02:00
alesapin
d4a24a5f8e Better test 2022-07-15 00:50:03 +02:00
alesapin
687961cf42 Fix style 2022-07-15 00:38:58 +02:00
alesapin
c7da3d61bf More stressful test 2022-07-15 00:32:20 +02:00
alesapin
1bc943264c Add concurrent backups test 2022-07-14 21:38:17 +02:00
alesapin
f0d4a5c93a Merge branch 'master' into fix_race_with_concurrent_hardlinks 2022-07-14 19:03:58 +02:00
Maksim Kita
59bddf0c91
Merge pull request #39233 from xoelop/patch-1
Fix typo in string search functions docs page
2022-07-14 18:00:06 +02:00
Maksim Kita
f5bacedaf9
Merge pull request #38553 from hexiaoting/mapupdate_dev
Fix bug for mapUpdate
2022-07-14 17:59:37 +02:00
Yakov Olkhovskiy
1f09303d54
Merge pull request #39181 from azat/part_log-merge_algorithm
Add merge_algorithm to system.part_log
2022-07-14 11:43:04 -04:00
Xoel Lopez Barata
10625e7c54
Fix typo
Replace "indicies" by "indices"
2022-07-14 17:41:48 +02:00
Yakov Olkhovskiy
9ecf19c883
Merge pull request #39212 from azat/stack_trace-filter-v2
Optimize accesses to system.stack_trace (filter by name before sending signal)
2022-07-14 10:33:26 -04:00
Alexey Milovidov
06a1874c17
Merge pull request #38988 from guowangy/align-branch-within-32b
Align branches within a 32B boundary to make benchmark more stable
2022-07-14 16:16:29 +03:00
Dan Roscigno
dc1269bca5
Merge pull request #39226 from ClickHouse/DanRoscigno-patch-3
spelling
2022-07-14 09:01:59 -04:00
Dan Roscigno
9955b097d4
spelling 2022-07-14 09:00:54 -04:00
Dan Roscigno
564de52f8d
Merge pull request #39205 from DanRoscigno/fix-indent
fix indent and link on remote table function
2022-07-14 08:54:22 -04:00
Robert Schulze
add83f7836
Merge pull request #39213 from ClickHouse/enable-wdeprecated-dynamic-exception-spec
Enable warning "-Wdeprecated-dynamic-exception-spec"
2022-07-14 13:09:18 +02:00
Vladimir C
b5011b5157
Merge pull request #39169 from FArthur-cmd/add_docs_for_dist_func
Documentation for array's distance functions
2022-07-14 12:36:17 +02:00
Kseniia Sumarokova
530dac6487
Merge pull request #37213 from aaapetrenko/master
add TableFunctionMongoDB and tests
2022-07-14 12:09:07 +02:00
Ilya Yatsishin
5c8b9e4a14
Merge pull request #39170 from qoega/otel-trace-processors-setting
Add setting opentelemetry_trace_processors
2022-07-14 11:27:05 +02:00
Azat Khuzhin
531e3b13ce Optimize accesses to system.stack_trace (filter by name before sending signal)
Because of failed rebase/push this part of the patch was lost, so
resending separatelly (sigh).

Follow-up for: #39177 (cc @yakov-olkhovskiy)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-14 11:49:34 +03:00
Vladimir C
66f2ea5ebb
Merge pull request #39123 from vdimir/fjs-pushdown
Pushdown filter to the right side of sorting join
2022-07-14 09:32:19 +02:00
Robert Schulze
110862a11e
Merge pull request #38502 from ClibMouse/Issue_38498
Fixed bug in parsing {..} regex
2022-07-14 08:27:31 +02:00
Yakov Olkhovskiy
d6a09acb38
Merge pull request #39177 from azat/stack_trace-filter
Optimize accesses to system.stack_trace
2022-07-14 01:47:14 -04:00
Yakov Olkhovskiy
887a34869d
merge_reason and merge_algorithm are added 2022-07-14 01:44:19 -04:00
Yakov Olkhovskiy
d108efa2f6
merge_algorithm is added 2022-07-14 01:36:45 -04:00
Nikolay Degterinsky
7ae2f624cc
Merge pull request #39188 from morozovsk/patch-11
Documentation: Functions hasAny and hasAll also can use a Bloom filter.
2022-07-14 02:50:22 +02:00
Nikolay Degterinsky
cfe7413678
Merge pull request #38935 from evillique/translate
Add functions translate & translateUTF8
2022-07-14 02:31:37 +02:00
DanRoscigno
add169278b fix indent and link 2022-07-13 19:27:33 -04:00
Kseniia Sumarokova
b4321904bf
Update test.py 2022-07-13 22:59:14 +02:00
Nikolai Kochetov
812143c76b
Merge pull request #39160 from azat/threadpool-fix
ThreadPool fixes
2022-07-13 22:54:57 +02:00
Nikolai Kochetov
ee0f7658b5
Merge pull request #39173 from ClickHouse/add-test-for-39132
Add test for #39132
2022-07-13 22:53:59 +02:00
Dan Roscigno
997ed35a01
Merge pull request #39196 from DanRoscigno/add-migration-to-new-system
add migration example
2022-07-13 15:54:17 -04:00
Anton Popov
5cb3b25754
Merge pull request #39161 from amosbird/text-log-source-regexp
Control send logs behavior with source name regexp
2022-07-13 21:13:54 +02:00
DanRoscigno
7ce5757d90 add migration example 2022-07-13 15:07:20 -04:00
Kseniia Sumarokova
61ce5161f3
Merge pull request #39106 from kssenii/cache-cacth-disk-full-on-cache-write
fs cache: continue without exception when getting no disk space left error
2022-07-13 19:08:13 +02:00
mergify[bot]
79e6f85412
Merge branch 'master' into mapupdate_dev 2022-07-13 17:06:51 +00:00
alesapin
f81650e94a Fix extremely rare condition in hardlinks creation 2022-07-13 19:03:48 +02:00
Vladimir Goncharov
189de392fd
Update mergetree.md
Functions hasAny and hasAll also can use a Bloom filter.
2022-07-13 19:20:32 +03:00
Dmitry Novik
9e4f516f35
Merge pull request #39112 from ClickHouse/window-expressions-fix
Fix ActionsDAG construction for window expressions
2022-07-13 18:19:01 +02:00
Kseniia Sumarokova
765503cd61
Update test.py 2022-07-13 17:55:24 +02:00
Heena Bansal
76cbfedd2a
Merge branch 'master' into Issue_38498 2022-07-13 11:50:26 -04:00
Kseniia Sumarokova
71aba5b4c6
Merge pull request #38860 from kssenii/object-storages-refactor
Refactoring of code around object storages, added LocalObjectStorage (extracted this diff from PR #36171)
2022-07-13 16:51:56 +02:00
Azat Khuzhin
3720a3843c Add merge_algorithm to system.part_log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 17:16:25 +03:00
Alexey Milovidov
d8b1b44a29
Merge branch 'master' into align-branch-within-32b 2022-07-13 16:53:34 +03:00
Robert Schulze
87197f8f60
Enable -Wdeprecated-dynamic-exception-spec 2022-07-13 13:49:40 +00:00
Vladimir C
27ec36ca91
Merge pull request #37648 from vdimir/enable_parallel_hash
Bugfixes and performance improvements for parallel_hash
2022-07-13 14:52:57 +02:00
Azat Khuzhin
68789895a4 ThreadPool: incapsulate Poco::Event and std:🧵:id into State struct
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 15:51:49 +03:00
HeenaBansal2009
e9dcc7d05a try to fix flaky test as suggested in review comments 2022-07-13 05:49:03 -07:00
Azat Khuzhin
7ffa15b94b ThreadPool: fix thread_id assignment
As found by @KochetovNicolai before this patch, lambda in
ThreadFromGlobalPool() ctor assigns value only to a copy of the
thread_id value, and so check in joinable() had been working
incorrectly, fix this by changing the value not the shared_ptr itself.

Also it is not safe to assign thread_id w/o atomics, since this can be
racy, so wrap id with std::atomic<>

Fixes: #28431
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 15:42:46 +03:00
Azat Khuzhin
25eb82f120 ThreadPool: do not use joinable() internally
joinable() should be used only outside, since internally it is enough to
know `state` to know that something is wrong.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 15:42:46 +03:00