Alexander Tokmakov
|
fb8c527a2f
|
Revert " Keeper retries during insert (clean)"
|
2022-11-10 14:12:24 +03:00 |
|
Igor Nikonov
|
345304abe0
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-11-08 20:26:50 +00:00 |
|
Mikhail f. Shiryaev
|
cca2620c44
|
Merge pull request #42891 from ClickHouse/sync-integration-logs
Wait for all files are in sync before archiving them
|
2022-11-08 13:30:32 +01:00 |
|
Kseniia Sumarokova
|
d2b777c059
|
Merge pull request #41054 from rubin-do/hudi
Add Hudi and DeltaLake table engines
|
2022-11-08 12:03:06 +01:00 |
|
Kseniia Sumarokova
|
4fc7926c16
|
Merge branch 'master' into system_table_add_column
|
2022-11-07 23:36:57 +01:00 |
|
alesapin
|
e6c3ea7ab8
|
Merge pull request #42890 from AVMusorin/s3_plain_system_name
changed type name for s3 plain storage
|
2022-11-07 22:46:25 +01:00 |
|
alesapin
|
257e766e0e
|
Trying to fix two flaky tests
|
2022-11-07 20:49:41 +01:00 |
|
kssenii
|
819be6bb32
|
Merge remote-tracking branch 'upstream/master' into hudi
|
2022-11-07 11:30:53 +01:00 |
|
Antonio Andelic
|
9ac829d4c4
|
Merge pull request #41766 from JackyWoo/manual_snapshot_for_keeper
Manually snapshot creation for keeper
|
2022-11-07 09:18:58 +01:00 |
|
Antonio Andelic
|
e08f94d0f8
|
Merge pull request #42659 from ClickHouse/optimize-entire-partition
Support for optimizing old parts for entire partition only
|
2022-11-07 09:06:11 +01:00 |
|
Igor Nikonov
|
503649a638
|
Merge branch 'master' into igor/insert_zk_retries_retry
|
2022-11-06 22:55:13 +01:00 |
|
Kseniia Sumarokova
|
cd5c6acbd2
|
Merge pull request #42960 from kssenii/fix-pg-db-datetime-table-attach
Fix postgres db engine attaching table with datetime
|
2022-11-06 22:39:15 +01:00 |
|
robot-clickhouse
|
f44e4fe7c6
|
Automatic style fix
|
2022-11-05 22:36:32 +00:00 |
|
Igor Nikonov
|
e94b9cd003
|
Fixes
+ enable retries in integration test
+ typo in fault injection traces
|
2022-11-05 22:28:32 +00:00 |
|
JackyWoo
|
9404e089fc
|
Merge branch 'master' into manual_snapshot_for_keeper
|
2022-11-05 17:37:36 +08:00 |
|
Igor Nikonov
|
859022660e
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-11-04 23:31:51 +00:00 |
|
Aleksandr Musorin
|
5cb69d8a22
|
changed type name for S3_Plain storage
renamed a disk for S3PlainObjectStorage in system.disks table from s3 to s3_plain
|
2022-11-04 17:35:51 +01:00 |
|
Vitaly Baranov
|
52b1f4aed9
|
Merge pull request #42484 from vitlibar/mask-sensitive-info-in-logs
Mask some information in logs
|
2022-11-04 14:09:38 +01:00 |
|
Kruglov Pavel
|
a7a5a70189
|
Merge pull request #42814 from kgoralski/failed_metrics_for_async_inserts
Add `FailedAsyncInsertQuery` event metric for async inserts
|
2022-11-04 13:41:39 +01:00 |
|
alesapin
|
82729a88c8
|
Merge pull request #42833 from vitlibar/backup-s3-increase-upload-part-size-exponentially
Increase the size of upload part exponentially for backup to S3.
|
2022-11-04 13:41:10 +01:00 |
|
kssenii
|
c9b4bc66b5
|
Fiux
|
2022-11-04 12:19:30 +01:00 |
|
Krzysztof Góralski
|
f526ddba68
|
Update tests/integration/test_failed_async_inserts/test.py
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
|
2022-11-03 22:26:24 +01:00 |
|
Krzysztof Góralski
|
14e922aca1
|
style check fixes test.py
|
2022-11-03 22:26:24 +01:00 |
|
Krzysztof Góralski
|
69f56d8d68
|
style check fixes
|
2022-11-03 22:26:24 +01:00 |
|
Krzysztof Góralski
|
be53a3596c
|
Review: Failed queries metrics for Async Inserts, added integration test instead of stateless one
|
2022-11-03 22:26:24 +01:00 |
|
Daniil Rubin
|
99d57325bb
|
Merge branch 'master' into hudi
|
2022-11-03 19:29:23 +00:00 |
|
Antonio Andelic
|
66ffdda973
|
Merge branch 'master' into optimize-entire-partition
|
2022-11-03 09:52:13 +01:00 |
|
Antonio Andelic
|
25b19e6ba0
|
Merge branch 'master' into manual_snapshot_for_keeper
|
2022-11-03 08:55:01 +01:00 |
|
Igor Nikonov
|
9a315b7899
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-11-02 15:32:54 +00:00 |
|
Vitaly Baranov
|
e0133688bc
|
Merge branch 'master' into mask-sensitive-info-in-logs
|
2022-11-02 16:26:13 +01:00 |
|
Mikhail f. Shiryaev
|
550c776ffe
|
Wait for all files are in sync before archiving them
|
2022-11-02 13:16:27 +01:00 |
|
Vitaly Baranov
|
b9f2f17331
|
Add test and logging.
|
2022-11-01 12:23:20 +01:00 |
|
Vitaly Baranov
|
73f5664109
|
Fix tests.
|
2022-11-01 11:10:58 +01:00 |
|
Igor Nikonov
|
9cc64a0fcc
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-10-31 18:21:21 +00:00 |
|
Vitaly Baranov
|
d1c69a0753
|
Avoid changing query if it doesn't contain password.
|
2022-10-31 17:04:44 +01:00 |
|
Azat Khuzhin
|
8345c5f881
|
tests: cover ATTACH of BACKUP from s3_plain disk
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-10-31 12:02:26 +01:00 |
|
Vitaly Baranov
|
901ae126e1
|
Improve test test_on_cluster.
|
2022-10-31 10:50:33 +01:00 |
|
Vitaly Baranov
|
aa5cfd6980
|
Improve tests.
|
2022-10-31 10:50:33 +01:00 |
|
Vitaly Baranov
|
854e1e918f
|
Use assert_cast() instead of as() in some places.
|
2022-10-31 10:50:33 +01:00 |
|
Vitaly Baranov
|
43efbad642
|
Wipe passwords from distributed queries too.
|
2022-10-31 10:50:33 +01:00 |
|
Vitaly Baranov
|
dcf8724adf
|
Move prepareQueryForLogging() to a separate header.
|
2022-10-31 10:50:33 +01:00 |
|
Vitaly Baranov
|
5d2a222fe4
|
Mask sensitive information in logs.
|
2022-10-31 10:50:33 +01:00 |
|
Azat Khuzhin
|
7a5432feaa
|
Fix possible SIGSEGV for web disks when file does not exists
It can be triggered in multiple ways, either when file does not exists
and you are trying to create MergeTree table from web (that has special
code for UUID handling) or by simply OPTIMIZE TABLE FINAL for MergeTree
table that is located on web disk, in both cases you will get the
following:
<details>
<summary>stacktrace</summary>
2022.10.28 14:08:40.631226 [ 6043 ] {6165bf5f-e76b-4bca-941c-7c7ff5e3b46b} <Trace> ContextAccess (default): Access granted: OPTIMIZE ON default.data_from_web
2022.10.28 14:08:40.632017 [ 6043 ] {6165bf5f-e76b-4bca-941c-7c7ff5e3b46b} <Debug> default.data_from_web (a3e65e1f-5fd4-47ed-9dbd-307f2586b52d) (MergerMutator): Selected 1 parts from all_1_1_0 to all_1_1_0
2022.10.28 14:08:40.632496 [ 6043 ] {6165bf5f-e76b-4bca-941c-7c7ff5e3b46b} <Trace> default.data_from_web (a3e65e1f-5fd4-47ed-9dbd-307f2586b52d): Trying to reserve 1.00 MiB using storage policy from min volume index 0
2022.10.28 14:08:40.632752 [ 6043 ] {6165bf5f-e76b-4bca-941c-7c7ff5e3b46b} <Trace> DiskObjectStorage(DiskWebServer): Reserved 1.00 MiB on remote disk `web_disk`, having unreserved 16.00 EiB.
2022.10.28 14:08:40.634155 [ 6043 ] {a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1} <Debug> MergeTask::PrepareStage: Merging 1 parts: from all_1_1_0 to all_1_1_0 into Compact
2022.10.28 14:08:40.634498 [ 6043 ] {a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1} <Trace> WebObjectStorage: Loading metadata for directory: http://127.0.0.1:8080/store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/tmp_merge_all_1_1_1
2022.10.28 14:08:40.635025 [ 6043 ] {a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1} <Trace> DiskWeb: Adding directory: store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/tmp_merge_all_1_1_1/
2022.10.28 14:08:40.635355 [ 6043 ] {a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1} <Trace> ReadWriteBufferFromHTTP: Sending request to http://127.0.0.1:8080/store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/tmp_merge_all_1_1_1/.index
2022.10.28 14:08:40.639618 [ 6043 ] {a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1} <Trace> DiskWeb: Cannot load disk metadata. Error: Code: 86. DB::Exception: Received error from remote server /store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/tmp_merge_all_1_1_1/.index. HTTP status code: 404 Not Found, body: <!doctype html><html><head><title>404 Not Found</title><style>
body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
h1, p { padding-left: 10px; }
code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
</style>
</head><body><h1>Not Found</h1><p>The requested resource <code class="url">/store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/tmp_merge_all_1_1_1/.index</code> was not found on this server.</p></body></html>: while loading disk metadata. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 22.11.1.1)
2022.10.28 14:08:40.640527 [ 5488 ] {} <Trace> BaseDaemon: Received signal 11
2022.10.28 14:08:40.641529 [ 9027 ] {} <Fatal> BaseDaemon: ########################################
2022.10.28 14:08:40.642759 [ 9027 ] {} <Fatal> BaseDaemon: (version 22.11.1.1, build id: 12145DA78CE5E9EBB10A034177FAE5967EF81A4A) (from thread 6043) (query_id: a3e65e1f-5fd4-47ed-9dbd-307f2586b52d::all_1_1_1) (query: optimize table data_from_web final) Received signal Segmentation fault (11)
2022.10.28 14:08:40.643260 [ 9027 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Unknown si_code.
2022.10.28 14:08:40.643769 [ 9027 ] {} <Fatal> BaseDaemon: Stack trace: 0x7ffff416c0f2 0x7ffff7cd1ca8 0x7ffff679ae5e 0x7fffd52e7906 0x7fffd50c65aa 0x7fffca7a0d42 0x7fffcaee79ec 0x7fffcaf242f8 0x7fffcaf242b5 0x7fffcaf2427d 0x7fffcaf24255 0x7fffcaf2421d 0x7ffff65c3686 0x7ffff65c2295 0x7fffcaeee2a9 0x7fffcaef2c43 0x7fffcaee3c0e 0x7fffcc4a7851 0x7fffcc4a768f 0x7fffcc4abb2d 0x7fffcfdce828 0x7fffd03e3eaa 0x7fffd03dfe3b 0x7fffc8ec42d4 0x7fffc8ed51d2 0x7ffff4bdd839 0x7ffff4bde0a8 0x7ffff48ab261 0x7ffff48a769a 0x7ffff48a6335 0x7ffff409f8fd 0x7ffff4121a60
2022.10.28 14:08:40.644411 [ 9027 ] {} <Fatal> BaseDaemon: 4. ? @ 0x7ffff416c0f2 in ?
2022.10.28 14:08:40.676390 [ 9027 ] {} <Fatal> BaseDaemon: 5. /src/ch/clickhouse/src/Common/StringUtils/StringUtils.cpp:9: detail::startsWith(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, char const*, unsigned long) @ 0x1ca8 in /src/ch/clickhouse/.cmake/src/Common/StringUtils/libstring_utilsd.so
2022.10.28 14:08:40.730727 [ 9027 ] {} <Fatal> BaseDaemon: 6. /src/ch/clickhouse/src/Common/StringUtils/StringUtils.h:19: startsWith(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) @ 0x59ae5e in /src/ch/clickhouse/.cmake/src/libclickhouse_common_iod.so
2022.10.28 14:08:40.923955 [ 9027 ] {} <Fatal> BaseDaemon: 7. /src/ch/clickhouse/src/Disks/ObjectStorages/Web/MetadataStorageFromStaticFilesWebServer.cpp:58: DB::MetadataStorageFromStaticFilesWebServer::exists(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const @ 0x6e7906 in /src/ch/clickhouse/.cmake/src/libdbmsd.so
2022.10.28 14:08:41.291996 [ 9027 ] {} <Fatal> BaseDaemon: 8. /src/ch/clickhouse/src/Disks/ObjectStorages/DiskObjectStorage.cpp:181: DB::DiskObjectStorage::exists(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const @ 0x4c65aa in /src/ch/clickhouse/.cmake/src/libdbmsd.so
2022.10.28 14:08:41.704697 [ 9027 ] {} <Fatal> BaseDaemon: 9. /src/ch/clickhouse/src/Storages/MergeTree/DataPartStorageOnDisk.cpp:74: DB::DataPartStorageOnDisk::exists() const @ 0xda0d42 in /src/ch/clickhouse/.cmake/src/libclickhouse_storages_mergetreed.so
2022.10.28 14:08:43.032459 [ 9027 ] {} <Fatal> BaseDaemon: 10. /src/ch/clickhouse/src/Storages/MergeTree/MergeTask.cpp:147: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x14e79ec in /src/ch/clickhouse/.cmake/src/libclickhouse_storages_mergetreed.so
...
Segmentation fault (core dumped)
</details>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-10-28 15:15:49 +02:00 |
|
Antonio Andelic
|
5fae8b0cc9
|
Merge branch 'master' into optimize-entire-partition
|
2022-10-28 11:44:10 +00:00 |
|
Igor Nikonov
|
3682913172
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-10-27 22:01:53 +00:00 |
|
Alexander Tokmakov
|
86b81a2b6f
|
Merge pull request #42234 from arthurpassos/fix_ares_fd_process_race_condition
Fix c-ares crash
|
2022-10-27 17:17:22 +03:00 |
|
Igor Nikonov
|
649e8d302c
|
Sync with retiring branch igor/insert_zk_retries
|
2022-10-26 17:41:44 +00:00 |
|
Igor Nikonov
|
8435cba352
|
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
|
2022-10-26 17:35:47 +00:00 |
|
Antonio Andelic
|
35a9672704
|
Merge branch 'master' into optimize-entire-partition
|
2022-10-26 11:09:25 +00:00 |
|
Antonio Andelic
|
97aaebfa18
|
Address PR comments
|
2022-10-26 10:06:56 +00:00 |
|