Alexey Milovidov
|
f64e632707
|
Merge pull request #42469 from amosbird/issue_42456
Fix misbehavior of key analysis
|
2022-10-28 16:18:00 +02:00 |
|
Roman Vasin
|
4a4fb20731
|
Add Date32 to 01411_from_unixtime and improve 00718_format_datetime
|
2022-10-28 14:08:28 +00:00 |
|
Vitalii S
|
665fcf55aa
|
Update database.md
Minor text correction
|
2022-10-28 10:08:04 -04: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 |
|
Roman Vasin
|
5755728b33
|
Add Date32 and DateTime64 into exception messages
|
2022-10-28 13:11:09 +00:00 |
|
Roman Vasin
|
fc16752844
|
Update docs for FROM_UNIXTIME
|
2022-10-28 12:56:52 +00:00 |
|
Alexander Tokmakov
|
11f1f5ae4d
|
Merge pull request #42747 from jrdi/fix-implicit-cast-CaresPTRResolver
Minor fix implicit cast CaresPTRResolver
|
2022-10-28 15:50:11 +03:00 |
|
Roman Vasin
|
15f3f56812
|
Change 1 argument of function to first argument of function etc
|
2022-10-28 12:44:47 +00:00 |
|
robot-clickhouse
|
4f62bd6ba0
|
Update version_date.tsv and changelogs after v22.3.14.23-lts
|
2022-10-28 11:43:06 +00:00 |
|
Sergei Trifonov
|
acec447526
|
Fix anchor links
|
2022-10-28 12:35:18 +02:00 |
|
robot-clickhouse
|
51e59405bc
|
Update version_date.tsv and changelogs after v22.3.14.18-lts
|
2022-10-28 09:41:29 +00:00 |
|
Sergei Trifonov
|
eda264b492
|
Merge branch 'master' into token-bucket-throttler
|
2022-10-28 11:38:13 +02:00 |
|
Maksim Kita
|
835daee0f3
|
Merge pull request #42728 from ucasfl/fix
Fix truncate table does not hold lock correctly
|
2022-10-28 11:44:24 +03:00 |
|
Maksim Kita
|
ba8b806957
|
Merge pull request #42704 from kitaisreal/order-by-limit-by-duplicate-elimination-improve-performance
OrderByLimitByDuplicateEliminationPass improve performance
|
2022-10-28 11:43:53 +03:00 |
|
Ilya Yatsishin
|
cd2f9f6e3e
|
Merge pull request #42678 from qoega/fix-exception-handling-clickhouse-helper
Fix error handling in clickhouse_helper.py
|
2022-10-28 08:55:56 +02:00 |
|
Jordi Villar
|
534dbc159c
|
Merge branch 'master' into fix-implicit-cast-CaresPTRResolver
|
2022-10-28 08:00:22 +02:00 |
|
Suzy Wang
|
6da80f4dcb
|
Merge branch 'master' into formatIpv6_s390x_support
|
2022-10-28 00:32:37 -04:00 |
|
Julio Jimenez
|
d0d3d31320
|
Merge branch 'master' into move-sonar-to-nightly
|
2022-10-27 20:52:36 -04:00 |
|
Igor Nikonov
|
d7d730cc57
|
Merge pull request #42752 from ClickHouse/fix-build-master
Fix build on master
|
2022-10-27 23:39:57 +02:00 |
|
Igor Nikonov
|
a4ce0e344a
|
Fix build
src/Common/CaresPTRResolver.cpp:126:27
error: implicit conversion loses integer precision: 'int64_t' (aka
'long') to 'int' [-Werror,-Wshorten-64-to-32]
|
2022-10-27 21:11:41 +00:00 |
|
Sergei Trifonov
|
8892da3a4c
|
Merge branch 'master' into token-bucket-throttler
|
2022-10-27 22:40:59 +02:00 |
|
Anton Popov
|
7715afa595
|
Merge pull request #42618 from CurtizJ/refactor-data-part
Try to save `IDataPartStorage` interface
|
2022-10-27 22:20:44 +02:00 |
|
Jordi Villar
|
073d81c31f
|
Use nfds_t instead
|
2022-10-27 20:36:42 +02:00 |
|
Julio Jimenez
|
ac8a5c0114
|
Merge branch 'master' into move-sonar-to-nightly
|
2022-10-27 13:36:26 -04:00 |
|
serxa
|
2038db21f4
|
lower limit to avoid hitting another bottleneck
|
2022-10-27 17:26:12 +00:00 |
|
serxa
|
c4f25228f7
|
smaller burst to be closer to old behaviour
|
2022-10-27 17:18:50 +00:00 |
|
Jordi Villar
|
1fa24161e7
|
Minor fix implicit cast CaresPTRResolver
|
2022-10-27 18:34:37 +02: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 |
|
Ilya Yatsishin
|
a939574500
|
Merge pull request #42738 from ClickHouse/auto/v22.8.8.3-lts
Update version_date.tsv and changelogs after v22.8.8.3-lts
|
2022-10-27 15:33:40 +02:00 |
|
robot-clickhouse
|
c46ee42a99
|
Update version_date.tsv and changelogs after v22.8.8.3-lts
|
2022-10-27 11:12:23 +00:00 |
|
Kruglov Pavel
|
0480e12f12
|
Merge pull request #42736 from evillique/fix-docs-1
Fix docs
|
2022-10-27 13:11:25 +02:00 |
|
Nikolai Kochetov
|
24e1aaf324
|
Merge pull request #42576 from ClickHouse/table-function-merge-invalid-where-type
Invalid type in where for Merge table (logical error)
|
2022-10-27 13:03:27 +02:00 |
|
Roman Vasin
|
8bd94979eb
|
Add test queries for Date32
|
2022-10-27 10:46:41 +00:00 |
|
Kruglov Pavel
|
e099817449
|
Merge branch 'master' into Avogar-patch-3
|
2022-10-27 12:46:18 +02:00 |
|
Sema Checherinda
|
df3e4d26ad
|
Merge pull request #42463 from ClibMouse/update_zlib
Update zlib-ng to latest commit
|
2022-10-27 12:45:23 +02:00 |
|
Nikolay Degterinsky
|
0245df6a82
|
Fix docs
|
2022-10-27 10:41:45 +00:00 |
|
Nikolay Degterinsky
|
9b710e1f42
|
Merge pull request #42733 from Radistka-75/patch-1
Update in.md
|
2022-10-27 12:29:00 +02:00 |
|
Nikolay Degterinsky
|
d489c46f02
|
Better test
|
2022-10-27 10:23:41 +00:00 |
|
Vladimir C
|
31e8f92cd9
|
Merge pull request #42664 from ClickHouse/vdimir/followup-42274
|
2022-10-27 12:20:46 +02:00 |
|
Radistka-75
|
a36119247f
|
Update in.md
Change md-formatting for note
|
2022-10-27 13:06:28 +03:00 |
|
Nikolay Degterinsky
|
b2ab692d87
|
Safer getResult()
|
2022-10-27 10:03:03 +00:00 |
|
Maksim Kita
|
275d076cb7
|
Fixed style check
|
2022-10-27 11:26:53 +02:00 |
|
Maksim Kita
|
5fcbc26800
|
OrderByLimitByDuplicateEliminationPass improve performance
|
2022-10-27 11:23:30 +02:00 |
|
flynn
|
2b08fe6963
|
Fix truncate table does not hold lock correctly
|
2022-10-27 08:56:18 +00:00 |
|
serxa
|
accf78f1ff
|
fix the first add() call
|
2022-10-27 08:39:08 +00:00 |
|
Robert Schulze
|
31ef6c66cb
|
Merge pull request #42513 from ClickHouse/update-libcxx-to-15
Build with libcxx(abi) 15
|
2022-10-27 10:30:36 +02:00 |
|
Sergei Trifonov
|
ec1389cbe7
|
Update src/Common/Throttler.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
|
2022-10-27 10:30:00 +02:00 |
|
Márcio Martins
|
aaf71d157d
|
Use return type template parameter to select throwing behavior
|
2022-10-27 10:26:55 +02:00 |
|
Márcio Martins
|
1ca230ff6d
|
Allow coercing in JSONExtract* functions
|
2022-10-27 10:26:55 +02:00 |
|
Márcio Martins
|
40b572c23b
|
Remove redundant default case in switch statement
|
2022-10-27 10:26:55 +02:00 |
|