Commit Graph

109555 Commits

Author SHA1 Message Date
taiyang-li
8edc677805 Merge branch 'master' into map_from_arrasy 2023-03-01 20:37:21 +08:00
Mike Kot
02950ecf29 aspell fix 2023-03-01 15:34:10 +03:00
Kseniia Sumarokova
b9bb7bcce3
Update test.py 2023-03-01 13:14:53 +01:00
Alexander Gololobov
5b42383730
Merge pull request #47051 from palash-goel/patch-1
Fix typo in systemd service definition
2023-03-01 13:05:55 +01:00
Mikhail f. Shiryaev
43dbd7bc25
Terminate long-running offline non-busy runners in EC2 2023-03-01 12:37:34 +01:00
Kseniia Sumarokova
adf2d56a2d
Update test.py 2023-03-01 12:35:01 +01:00
alesapin
94ae3b49ad
Merge pull request #47024 from ClickHouse/enable_force_sync
Temporary enable force_sync for keeper in CI
2023-03-01 12:30:32 +01:00
Mike Kot
3af09d5507 reordering rows 2023-03-01 14:24:10 +03:00
Alexey Korepanov
67b271b1fa Keep indentation on Enter in the web UI 2023-03-01 12:20:49 +01:00
Mike Kot
30537d0d1f updates 2023-03-01 14:10:39 +03:00
alesapin
d72c310faa
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-03-01 11:54:22 +01:00
alesapin
8ff77c89eb
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-03-01 11:50:35 +01:00
alesapin
be5ef666ba
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-03-01 11:50:29 +01:00
alesapin
5de8a8e776
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-03-01 11:50:23 +01:00
Alexey Milovidov
36b2ddc30f
Merge pull request #47050 from ClickHouse/more-merge-tasks-in-queue
Increase `max_replicated_merges_in_queue`
2023-03-01 13:39:53 +03:00
Robert Schulze
ac7caace8a
Update comments 2023-03-01 09:34:46 +00:00
Antonio Andelic
c797122dbe Better 2023-03-01 08:45:50 +00:00
Robert Schulze
05142af0c0
Merge pull request #47008 from ClickHouse/rs/fix-too-new-glibc-on-arm
Fix statx on ARM
2023-03-01 09:31:20 +01:00
Amos Bird
62d011d0c0
Provide more glibc compatibility symbols
These are needed by newer capnp. musl does the following:

 #define fallocate64 fallocate
 #define pwritev64 pwritev
2023-03-01 15:12:43 +08:00
Palash Goel
ec00b09007
Merge branch 'master' into patch-1 2023-03-01 11:50:19 +05:30
Yakov Olkhovskiy
e800557743
Merge pull request #46705 from canhld94/ch_fix_aggregate_arithmetic
Fix arithmetic operations in aggregate optimization
2023-03-01 00:49:34 -05:00
Palash Goel
3615c6f4fb
Fix typo in service definition 2023-03-01 10:37:21 +05:30
Alexey Milovidov
fe446afb7d Increase max_replicated_merges_in_queue 2023-03-01 06:02:59 +01:00
Alexey Milovidov
4c7ac6cd89
Merge pull request #47007 from ClickHouse/vdimir/tmp_path_template_fix
Fix tmp_path_template in HTTPHandler::processQuery
2023-03-01 07:46:12 +03:00
Amos Bird
c0fb4ddc3e
Make thread analyzer happy 2023-03-01 11:07:36 +08:00
Amos Bird
2d8060d843
Rewrite VersionNumber in ClickHouse way 2023-03-01 11:07:31 +08:00
Amos Bird
8162446496
The three-way comparison operator
Please refer to
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2468r2.html
for more information on why it is necessary to modify the code in this
way.
2023-03-01 11:06:34 +08:00
Anton Popov
2c41ddf609 support Bool in JSONType 2023-03-01 02:07:09 +00:00
robot-clickhouse-ci-2
c28ab44ce5
Merge pull request #47044 from ClickHouse/DanRoscigno-patch-4
add comment info to create table
2023-03-01 02:31:51 +01:00
Dan Roscigno
980680096e
Merge pull request #47043 from ClickHouse/DanRoscigno-patch-5
Add exaple of intDiv
2023-02-28 17:37:44 -05:00
Dan Roscigno
fa5b65a702
add comment info to create table
closes https://github.com/ClickHouse/ClickHouse/issues/37088
2023-02-28 17:35:52 -05:00
AVMusorin
99329d8682 Improve tests for Distributed INSERT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 23:17:37 +01:00
Azat Khuzhin
d06a4b50d6 Latest review fixes (variable naming: s/monitor/queue)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:48:07 +01:00
Dan Roscigno
4c2efa8dde
Merge pull request #47039 from ClickHouse/DanRoscigno-patch-4
docs: sample settings profile and assign to a user
2023-02-28 16:40:55 -05:00
Dan Roscigno
97c8c21741
Add exaple of intDiv
closes https://github.com/ClickHouse/ClickHouse/issues/25703
2023-02-28 16:38:00 -05:00
Azat Khuzhin
591fca57f3 Fix function names for opentelemetry spans in StorageDistributed
Fixes: 02417_opentelemetry_insert_on_distributed_table
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
7063c20b3c Change noisy "Skipping send data over distributed table." message to test
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
16bfef3c8a Fix processing current_batch.txt on init
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
752d27d663 Fix lossing files during distributed batch send
v2: do not suppress exceptions in case of errors
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
572dd76eae Extend ConcurrentBoundedQueue to deque
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
263c042c6a Fix opentelemetry for distributed batch sends
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
00115c6615 Rename readDistributedAsyncInsertHeader()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
a76d7b22c1 Use existing public methods of StorageDistributed in DistributedSink
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
e83699a8d3 Improve comment for DistributedAsyncInsertDirectoryQueue::initializeFilesFromDisk()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
e10fb142fd Fix race for distributed sends from disk
Before it was initialized from disk only on startup, but if some INSERT
can create the object before, then, it will lead to the situation when
it will not be initialized.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
b5434eac3b Rename StorageDistributedDirectoryMonitor to DistributedAsyncInsertDirectoryQueue
Since #44922 it is not a directory monitor anymore.

v2: Remove unused error codes
v3: Contains some header fixes due to conflicts with master
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
1c4659b8e7 Separate out Batch as DistributedAsyncInsertBatch (and also some helpers)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
33b13549ad Separate out DirectoryMonitorSource as DistributedAsyncInsertSource
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
325a7b2305 Separate out DistributedHeader as DistributedAsyncInsertHeader
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
Azat Khuzhin
22a39e29f7 Add a comment for StorageDistributedDirectoryMonitor::Batch::recovered
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00