Commit Graph

3939 Commits

Author SHA1 Message Date
Sema Checherinda
ae4d3f97ae
Merge pull request #64225 from ClickHouse/chesema-patch-aws-error-handler
tests for qps_limit_exceeded
2024-05-24 13:28:33 +00:00
Sema Checherinda
6be79a35b6 update contrib/aws to the last head 2024-05-22 20:30:19 +02:00
Sema Checherinda
a73d60bae5 tests for qps_limit_exceeded 2024-05-22 18:35:28 +02:00
ZhiHong Zhang
4b1c9adb3a
Merge branch 'ClickHouse:master' into gcmaster-parquet 2024-05-22 09:33:01 +08:00
copperybean
b253ca3608 fix clang-tidy warnings
Change-Id: Iff9f5f894e815b184ac35f61b4cac87908c612b5
2024-05-21 16:48:49 +08:00
Alexey Milovidov
29f7a766a5 Merge branch 'master' into libunwind-fix-crash 2024-05-20 19:49:37 +02:00
Alexey Milovidov
dae050d2d4
Merge pull request #64023 from azat/build/freebsd-bcrypt-fix
Fix libbcrypt for FreeBSD build
2024-05-20 09:51:39 +02:00
Alexey Milovidov
27e7086be2 Merge branch 'master' into libunwind-fix-crash 2024-05-20 05:15:52 +02:00
alesapin
3878155b19
Merge pull request #64072 from ClickHouse/try_to_fix_cross_compilation_for_grpc
Try to fix grpc for aarch64 crosscompilation
2024-05-18 18:28:21 +00:00
alesapin
086e5d73a4 Followup 2024-05-18 18:03:55 +02:00
alesapin
2983941ab8 Fix build for openssl
(cherry picked from commit 7efd5d3ab62024619e26dc6c3e28d50bffc98d70)
2024-05-18 16:35:15 +02:00
Alexey Milovidov
a2d9a32652
Merge pull request #63733 from qiangxuhui/qiangxuhui-loongarch64
Initial support for loongarch64
2024-05-18 05:26:26 +02:00
alesapin
24892b151a Try to fix grpc for aarch64 crosscompilation
(cherry picked from commit f3fbf532e0d4d7616f51a9c3d5087cf7b2e6d7d5)
2024-05-17 22:55:12 +02:00
Alexey Milovidov
b9d539d0f7 Merge branch 'master' into libunwind-fix-crash 2024-05-17 20:33:22 +02:00
Alexey Milovidov
e39d8c001f
Merge pull request #63923 from ClickHouse/update-datasketches
Update Datasketches
2024-05-17 20:30:41 +02:00
Azat Khuzhin
bfb3fe0c23 Fix libbcrypt for FreeBSD build
Right now it fails due to [1] with the following error:

    /usr/work/ClickHouse/contrib/libbcrypt/crypt_blowfish/ow-crypt.h:27:14: error: conflicting types for 'crypt_r'
       27 | extern char *crypt_r(__const char *key, __const char *setting, void *data);
          |              ^
    /usr/include/unistd.h:500:7: note: previous declaration is here
      500 | char    *crypt_r(const char *, const char *, struct crypt_data *);
          |          ^

  [1]: 5f521d7ba7

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-17 11:37:01 +02:00
Alexey Milovidov
cb9d35e490 Merge branch 'master' into update-datasketches 2024-05-17 10:23:50 +02:00
Robert Schulze
5fb8ea4c62
Merge remote-tracking branch 'ClickHouse/master' into qiangxuhui-loongarch64 2024-05-17 07:56:01 +00:00
qiangxuhui
7d6d5165fe Update contrib/libunwind to master 2024-05-17 07:45:51 +00:00
Alexey Milovidov
bd6a4a3068 Merge branch 'master' into libunwind-fix-crash 2024-05-17 07:24:39 +02:00
Alexey Milovidov
50dea75fff Update libunwind 2024-05-17 07:15:51 +02:00
Alexey Milovidov
95a452f87c Update to the latest version where the patch is included 2024-05-17 05:41:32 +02:00
Alexey Milovidov
4b73ae8340
Merge pull request #63946 from azat/build/libunwind-fixes
Insignificant libunwind build fixes
2024-05-17 03:34:53 +02:00
Azat Khuzhin
86cf1e13d8 libunwind: fix usage of libunwind.h (by defining -D_LIBUNWIND_IS_NATIVE_ONLY)
From this macros sizeof(unw_context_t)/sizeof(unw_cursor_t) is depends
(_LIBUNWIND_CONTEXT_SIZE/_LIBUNWIND_CURSOR_SIZE).

So it should be not only PRIVATE but for INTERFACE as well.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-16 13:11:47 +02:00
Azat Khuzhin
793a11fd19 libunwind: remove useless _DEBUG flag
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-16 13:11:47 +02:00
Alexey Milovidov
91c240c85c Update Datasketches 2024-05-16 00:43:38 +02:00
Azat Khuzhin
94041d193c Fix SIGSEGV due to CPU/Real profiler
The problem was due to incorrect unwinding due from signal handlers,
which leads to incorrect DWARF (FDE/CIE) interpretation.

After this patch I was not able to reproduce the crash for couple of
hours, while before it was very stable (I've reduced the minimal
threshold for query_profiler_real_time_period_ns), using simply:

    $ clickhouse-benchmark --port 19000 -q "SELECT * FROM remote('127.{1..10}', system, one)" --query_profiler_real_time_period_ns=1

Note, I'm using here remote() for fibers, that has stack with guard
pages that helps with reproducing the crash more faster.

P.S. I also have another implementation of this fix, without patching
unwind and using info from signal context directly, and even though it
is better, because you don't need to trip extra frames and you can use
all the 45 frames for something useful, it is too complex, so let's go
with a simpler patch first, and I think it could be even backported.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-15 18:22:59 +02:00
qiangxuhui
47b7d3748d Fix code for loongarch64
Fix `base/poco` and `contrib/openssl-cmake` based on code review comments(https://github.com/ClickHouse/ClickHouse/pull/61509).
2024-05-14 07:45:57 +00:00
qiangxuhui
eb96f19e48 Add support for building with openssl for loongarch64 2024-05-14 07:45:57 +00:00
qiangxuhui
97a5de9653 Initial support for loongarch64
Make ClickHouse compilable and runnable on loongarch64

So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
2024-05-14 07:45:26 +00:00
Vitaly Baranov
6c0450f8ff
Merge pull request #62685 from azat/yaml-cpp-merge-key
Bump yaml-cpp for YAML Merge Key support
2024-05-13 09:49:25 +00:00
Azat Khuzhin
59adb61016 Bump yaml-cpp after PR merge
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:05:51 +02:00
Azat Khuzhin
a0843f754a Bump yaml-cpp with proper keys merging PR
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:04:23 +02:00
Azat Khuzhin
439229ef2b Bump yaml-cpp for YAML Merge Key support
Refs: https://github.com/ClickHouse/yaml-cpp/pull/2
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 20:04:23 +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
Raúl Marín
2f00ad489a Go back to upstream lz4 2024-05-09 17:06:26 +02:00
Alexey Milovidov
224e1940ae Useless changes 2024-05-09 03:58:34 +02:00
Alexey Milovidov
9f6eb467af Merge branch 'master' into libunwind-fix-crash 2024-05-08 05:08:15 +02:00
Azat Khuzhin
95b76bf6a4 Remove leftovers of GCC support in cmake rules
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-07 21:07:02 +02:00
Alexey Milovidov
875507c921 Merge branch 'master' into libunwind-fix-crash 2024-05-03 03:41:36 +02:00
Robert Schulze
15e67fee78
Merge remote-tracking branch 'ClickHouse/master' into hlee-z-build-fix 2024-05-02 07:02:24 +00:00
HarryLeeIBM
be72040922 Use mold linker for s390x 2024-04-30 10:40:00 -07:00
Anton Popov
1c8a2ae2eb fix possible endless loop while reading from azure 2024-04-30 16:14:37 +00:00
HarryLeeIBM
bf3c8b6966 Fix broken s390x build 2024-04-29 15:37:10 -07:00
Robert Schulze
422dc8a2e5
Fix race in X509 store in OpenSSL (#63049) 2024-04-29 11:32:57 +00:00
Vitaly Baranov
860c642535 fix-curl-cmake 2024-04-26 18:58:20 +02:00
Vitaly Baranov
d49fcda09e Unfork and update curl to 8.7.1 2024-04-26 18:58:13 +02:00
Robert Schulze
c91f8ffc39
Unflake 02813_func_now_and_alias.sql 2024-04-24 18:34:59 +00:00
HarryLeeIBM
2f0fb73d7d Add back two fips c files under condition 2024-04-24 07:15:16 -07:00
HarryLeeIBM
f323b68675 Remove unused c files in build 2024-04-24 06:28:40 -07:00