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
Arthur Passos
7a09aa478a
Add missing include header for osx builds
2022-07-13 17:45:30 -03:00
Anton Popov
089009c996
fix reading from StorageLog with mmap
2022-07-13 20:36:18 +00:00
jinjunzh
1c6d70f9b3
fixed sw job buffer missing
2022-07-13 16:12:15 -04:00
Yakov Olkhovskiy
e5f165d909
Merge branch 'master' into cmake-self-extracting-executable
2022-07-13 16:09:18 -04: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
Vladimir Chebotarev
af682c4379
Empty commit to re-run checks.
2022-07-13 21:58:25 +03:00
Arthur Passos
a0055fc47a
Add force cache to gRPC_CARES_PROVIDER set
2022-07-13 15:49:22 -03:00
HarryLeeIBM
2caa3f8803
Fix LZ4 decompression issue for s390x
2022-07-13 11:45:58 -07:00
Igor Nikonov
b7f46d954e
Cleanup: related to #38719 (SortingStep: deduce way to sort based on input stream sort)
2022-07-13 17:57:37 +00:00
avogar
390b1ac2f7
Improve isNullable/isConstant/isNull/isNotNull performance for LowCardinality argument
2022-07-13 17:56:34 +00:00
Sergei Trifonov
15ab3bc99f
use context->getWriteSettings()
2022-07-13 19:48:57 +02:00
Sergei Trifonov
af4a5a5f3a
fix conflicts
2022-07-13 19:44:29 +02: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
Sergei Trifonov
f854507729
merge master and resolve conflicts
2022-07-13 19:07:28 +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
Sergei Trifonov
60c6a5b23c
fix s3 read/write throttling instant
2022-07-13 18:36:08 +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
Dmitry Novik
14aa62f661
Fix test output
2022-07-13 16:14:51 +00: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
Anton Popov
da2413f7d2
fix reading of sparse columns with prefetch
2022-07-13 15:10:37 +00: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
Arthur Passos
7f4043a3ed
Force use of c-ares inet_net_pton and style adjustments
2022-07-13 11:51:43 -03: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
Yakov Olkhovskiy
3fd367ea58
check metadata_snapshot is not empty
2022-07-13 10:08:24 -04: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
Anton Popov
54a0985c42
randomize one more setting
2022-07-13 12:50:12 +00: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
Azat Khuzhin
3473b80077
ThreadPool: add some clarification comments
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 15:42:46 +03:00
Arthur Passos
395dada988
minor style adjustments
2022-07-13 09:40:56 -03:00
Alexander Tokmakov
635e527234
Merge pull request #39176 from ClickHouse/tavplubix-patch-1
...
Suppression for BC check (`Cannot parse string 'Hello' as UInt64`)
2022-07-13 15:25:34 +03:00
Nikolai Kochetov
83c3670f2a
Fix style
2022-07-13 12:23:01 +00:00
Alexander Tokmakov
991493e6fc
Update run.sh
2022-07-13 15:22:36 +03:00
Azat Khuzhin
8122c1b07f
Optimize accesses to system.stack_trace
...
- filter by thread_id
- filter by thread_name
- filter by requested columns (query_id/trace, thread_name)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-13 15:17:09 +03:00
vdimir
4124dc9ac4
Rewrite tryPushDownFilter for join with lambda
2022-07-13 12:06:29 +00:00
Nikolai Kochetov
37f0d96e36
Add test for #39132
2022-07-13 12:04:42 +00:00
vdimir
549a85fee9
Throw logical error on child idx mismatch in tryAddNewFilterStep
2022-07-13 11:53:46 +00:00
vdimir
fa59133463
Do not spam log in MergeJoinAlgorithm
2022-07-13 11:51:11 +00:00
Nikolay Degterinsky
e3a79520c1
Merge remote-tracking branch 'upstream/master' into translate
2022-07-13 11:42:40 +00:00