Commit Graph

141771 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
291bb14696
The Dockerfile is reviewed by docker-official
`apt-get upgrade` shouldn't be executed during the build
`apt-get clean` is a noop
`gpg` should use batch and download key by full fingreprints
The CI specific steps shouln't be presented in docker library
Using `COPY --chmod` instead of two layers is not possible yet, but
  entrypoint.sh already contains +x bit in the git repo
2024-05-10 10:54:27 +02:00
Antonio Andelic
78af18ac87
Merge pull request #63513 from ClickHouse/threadpool-runner-local-prefetch-read-pool
Make `MergeTreePrefetchedReadPool` safer
2024-05-10 07:38:33 +00:00
Alexey Milovidov
a05fccf8cc Useless changes 2024-05-10 07:30:40 +02:00
Alexey Milovidov
dd58af7d4f Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-10 07:17:39 +02:00
Alexey Milovidov
51a9657933 Useless changes 2024-05-10 07:12:26 +02:00
Alexey Milovidov
c34ae6d189
Merge pull request #63583 from ClickHouse/ij
Fix logical error in ColumnTuple::tryInsert()
2024-05-10 05:09:34 +00:00
Alexey Milovidov
2794a6635e Useless changes 2024-05-10 06:58:21 +02:00
Alexey Milovidov
4ff1465927 Useless changes 2024-05-10 06:40:00 +02:00
Alexey Milovidov
cfbe0f30f0 Useless changes 2024-05-10 06:32:36 +02:00
Alexey Milovidov
3e70f79be7 Useless changes 2024-05-10 06:25:29 +02:00
Alexey Milovidov
ced5cc1644 Useless changes 2024-05-10 05:55:04 +02:00
Alexey Milovidov
46c99476d0 Useless changes 2024-05-10 05:23:47 +02:00
Alexey Milovidov
9ae3454cd1 Useless changes 2024-05-10 05:12:11 +02:00
Alexey Milovidov
a6543a1c48 Useless changes 2024-05-10 05:07:37 +02:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
taiyang-li
690a8cf24b Merge branch 'opt_string_ascii' of https://github.com/bigo-sg/ClickHouse into opt_string_ascii 2024-05-10 10:31:47 +08:00
Michael Kolupaev
3de1fc674f Fix logical error in ColumnTuple::tryInsert() 2024-05-10 02:30:18 +00:00
taiyang-li
d2af8b5e23 change as request 2024-05-10 10:29:53 +08:00
Alexey Milovidov
c17a3bb944 Useless changes 2024-05-10 03:31:40 +02:00
Alexey Milovidov
42710158e4 Merge branch 'master' into clang-18-ci 2024-05-10 02:38:20 +02:00
Michael Kolupaev
1b43c58489
Merge pull request #62087 from ClickHouse/checkmate
Avoid crashing on column type mismatch in a few dozen places
2024-05-09 23:59:59 +00:00
Alexey Milovidov
40b5aaa939
Merge pull request #63580 from ClickHouse/docs-data-replication-examples
[Docs] Use ReplicatedMergeTree not ReplicatedReplacingMergeTree for d…
2024-05-09 23:50:20 +00:00
Justin de Guzman
849dd825c5
[Docs] Use ReplicatedMergeTree not ReplicatedReplacingMergeTree for data replication examples 2024-05-09 15:33:40 -07:00
Yarik Briukhovetskyi
cf45181e8c
fix black 2024-05-10 00:26:59 +02:00
Maxim Alexeev
ad5cbc6808 fixed code and added test 2024-05-10 01:25:08 +03:00
Maxim Alexeev
7376fac30c Fixed bug 2024-05-10 00:50:27 +03:00
p1rattttt
0a7a69a00d
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-09 18:51:44 +03:00
Alexey Milovidov
8ed245677d
Merge pull request #63493 from Volodyachan/fix-tabs-in-pretty-format
Tabs in pretty format
2024-05-09 15:24:56 +00:00
Alexey Milovidov
7be88cca1f
Merge pull request #63548 from azat/fix-sentry-crash-on-exit
Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
2024-05-09 15:24:20 +00:00
Alexey Milovidov
3ac5853fe8
Merge pull request #63574 from Algunenano/main_lz4
Go back to upstream lz4 submodule
2024-05-09 15:22:02 +00:00
Raúl Marín
2f00ad489a Go back to upstream lz4 2024-05-09 17:06:26 +02:00
Konstantin Bogdanov
6a00c0ec6b
Merge pull request #63551 from ClickHouse/thevar1able-patch-2
Add `jwcrypto` to integration tests runner
2024-05-09 12:40:57 +00:00
Mikhail f. Shiryaev
acae60b55f
Merge pull request #63543 from ClickHouse/find-proper-commit-for-a-sync
Find a proper commit for cumulative `A Sync` status
2024-05-09 12:08:50 +00:00
Mikhail f. Shiryaev
38604eb3bc
Add more logging about the status will be post 2024-05-09 13:40:56 +02:00
Mikhail f. Shiryaev
f294f6d16f
Move update_upstream_sync_status to commit_status_helper 2024-05-09 13:40:53 +02:00
Raúl Marín
83d8c1071a
Merge pull request #63522 from Algunenano/prefetch_projection_name
MergeTreePrefetchedReadPool: Print parent name when logging projection parts
2024-05-09 09:59:36 +00:00
Blargian
ca5e70f424 Undo file renaming for ru and zh 2024-05-09 10:57:13 +02:00
Shaun Struwig
1aa10b1633
Undo renaming 2024-05-09 10:31:03 +02:00
Shaun Struwig
cae27cf7a4
Update null-functions.md 2024-05-09 10:30:41 +02:00
Shaun Struwig
16c7ae5a04
Undo renaming 2024-05-09 10:30:22 +02:00
Blargian
a75151e80b Undo renaming and make review changes 2024-05-09 10:29:35 +02:00
Antonio Andelic
3fd8b46264
Merge pull request #63538 from ClickHouse/race-distributed-sink
Fix data race in `DistributedSink`
2024-05-09 06:53:44 +00:00
Antonio Andelic
d1c20d08c3
Merge pull request #63323 from ClickHouse/use-getparentpartname
Try fix segfault in `MergeTreeReadPoolBase::createTask`
2024-05-09 06:52:12 +00:00
Antonio Andelic
bc9d50cf16
Merge pull request #63523 from ClickHouse/leftover-threads-copy
Correctly stop `asyncCopy` tasks in all cases
2024-05-09 06:50:51 +00:00
Azat Khuzhin
27b41650f8 Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
The problem is tha openssl registers OPENSSL_cleanup() as atexit
handler, which called before destroying of SentryWriter, so to avoid
this problem, let's destroy it explicitly.

<details>

<summary>stack trace example</summary>

    Thread 2 (Thread 0x7ffff54006c0 (LWP 24847) "clickhouse-serv"):
    0  ___pthread_rwlock_rdlock (rwlock=0x0) at pthread_rwlock_rdlock.c:26
    1  0x00000000164c18a9 in CRYPTO_THREAD_read_lock (lock=0x0) at threads_pthread.c:93
    2  0x000000001642e6b9 in int_err_get_item (d=0x7ffff53f74e0) at err.c:192
    ...
    7  ossl_connect_common (cf=0x7ffff7812c80, data=0x7ffff70a4c00, nonblocking=bool_true, done=0x7ffff53f834c) at openssl.c:4486
    ...
    17 curl_easy_perform (data=data@entry=0x7ffff70a4c00) at easy.c:787
    18 0x000000000b4c3854 in sentry__curl_send_task (_envelope=<optimized out>, _state=0x7ffff7074300) at sentry_transport_curl.c:225
    19 0x000000000b4ba880 in worker_thread (data=0x7ffff70e5500) at sentry_sync.c:262

    Thread 1 (Thread 0x7ffff7cb2c80 (LWP 24842) "clickhouse-serv"):
    5  0x000000000b4bb0e2 in sentry__cond_wait_timeout (cv=0x7ffff70e5540, mutex=0x7ffff70e5570, msecs=250) at sentry_sync.h:332
    6  sentry__bgworker_shutdown (bgw=0x7ffff70e5500, timeout=2000) at sentry_sync.c:412
    7  0x000000000b4b3e95 in sentry_close () at sentry_core.c:238
    8  0x000000000b4a5f1f in SentryWriter::~SentryWriter (this=0x7ffff71a1240) at SentryWriter.cpp:147
    9  std::__1::default_delete<SentryWriter>::operator()[abi:v15000](SentryWriter*) const (this=0x7ffff70e5568, __ptr=0x7ffff71a1240) at unique_ptr.h:48
    10 std::__1::unique_ptr<SentryWriter, std::__1::default_delete<SentryWriter> >::reset[abi:v15000](SentryWriter*) (this=0x7ffff70e5568, __p=0x0) at unique_ptr.h:305
    11 std::__1::unique_ptr<SentryWriter, std::__1::default_delete<SentryWriter> >::~unique_ptr[abi:v15000]() (this=0x7ffff70e5568) at unique_ptr.h:259
    12 0x00007ffff7de62e6 in __run_exit_handlers (status=0, listp=<optimized out>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
    13 0x00007ffff7de642e in __GI_exit (status=<optimized out>) at exit.c:138
    14 0x00007ffff7dccd51 in __libc_start_call_main (main=main@entry=0x6111c20 <main(int, char**)>, argc=argc@entry=13, argv=argv@entry=0x7fffffffb718) at libc_start_call_main.h:74
    15 0x00007ffff7dcce0c in __libc_start_main_impl (main=0x6111c20 <main(int, char**)>, argc=13, argv=0x7fffffffb718, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffb708) at libc-start.c:360

    (gdb) p req.body
    $7 = 0x7ffff7816000 "{\"dsn\":\"...\"}\n{\"type\":\"session\",\"length\":190}\n{\"init\":true,\"sid\":\"...\",\"status\":\"exited\",\"errors\":0,\"started\":\"2024-05-08T20:29:23.253Z\",\"duration\":17.213,\"attrs\":{\"release\":\"24.5\",\"environment\":\"test\"}}"

</details>

P.S. Likely started happens after conversion to OpenSSL (#59870).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-09 07:39:23 +02:00
Volodyachan
c52af8c259
Merge branch 'master' into fix-tabs-in-pretty-format 2024-05-09 05:22:51 +03:00
Alexey Milovidov
c198bbcafb Useless changes 2024-05-09 04:20:54 +02:00
Alexey Milovidov
224e1940ae Useless changes 2024-05-09 03:58:34 +02:00
Alexey Milovidov
97f24f38b8 Useless changes 2024-05-09 03:14:26 +02:00
Alexey Milovidov
0d14a2c67e Useless changes 2024-05-09 03:11:02 +02:00