Commit Graph

142352 Commits

Author SHA1 Message Date
Alexey Milovidov
039b385e73
Merge pull request #64058 from azat/fix-unwind-on-aarch64
Fix unwind on SIGSEGV on aarch64 (due to small stack for signal)
2024-05-20 05:10:55 +02:00
Alexey Milovidov
a00868a116
Merge pull request #64089 from azat/tests/03036_reading_s3_archives
tests: fix expected error for 03036_reading_s3_archives (fixes CI)
2024-05-20 05:07:23 +02:00
Alexey Milovidov
7921b74fd9
Merge pull request #64080 from yohannj/h3PointDistErrorMsg
harmonize h3PointDist* error messages
2024-05-20 05:06:08 +02:00
Alexey Milovidov
543e9cc05a Merge branch 'master' into speed-up-index-set-a-little 2024-05-20 03:10:21 +02:00
Alexey Milovidov
53545b5304
Merge pull request #64090 from azat/fix-sanitizers
Fix sanitizers
2024-05-20 03:03:07 +02:00
kssenii
357ec69677 Fix style check 2024-05-19 23:33:24 +02:00
alesapin
56d25c74b1 Merge remote-tracking branch 'azat/fix-sanitizers' into fix_azure_native_copy 2024-05-19 23:28:03 +02:00
Robert Schulze
08091006aa
Ignore exception when checking for cgroupsv2 2024-05-19 20:38:23 +00:00
Azat Khuzhin
64a308013f Tune mmap_rnd_bits to workaround sanitizers issues
v1: vm.mmap_rnd_bits=28
v2: rebase with clang 18.1.6 + kernel.randomize_va_space=0
v3: leave only vm.mmap_rnd_bits=28 + use pre-run.sh (hope that it will
    be used), that way docker will not require --privileged and by some
    reason this breaks ASAN (though I cannot reproduce it)
v4: use actions/common_setup over init_runner.sh (it requires some
    manual deploy)
2024-05-19 22:37:16 +02:00
kssenii
ea774b673a Better test 2024-05-19 22:25:56 +02:00
kssenii
c2a613e94d Better 2024-05-19 22:08:36 +02:00
kssenii
93b11c57a0 Fix azure backup uploaded block size 2024-05-19 21:14:06 +02:00
alesapin
2765fd951c Properly support native copy for azure 2024-05-19 21:02:12 +02:00
Robert Schulze
56e8027883
Improve comment 2024-05-19 17:53:06 +00:00
Robert Schulze
4a8e663b1a
Fix clang-tidy after clang-18 transition 2024-05-19 17:34:55 +00:00
Robert Schulze
83572b7f05
Trigger build 2024-05-19 17:23:52 +00:00
Max K
5698ef698d check overall wf status in mergeable check 2024-05-19 18:02:15 +02:00
Yohann Jardin
524f289f47 empty commit 2024-05-19 17:20:22 +02:00
Alexey Milovidov
a28309689f
Update MergeTreeIndexSet.h 2024-05-19 16:13:58 +03:00
Alexey Milovidov
11af3fd54f
Update MergeTreeIndexSet.cpp 2024-05-19 16:13:41 +03:00
Alexey Milovidov
e18fa68f3d
Update MergeTreeIndexSet.cpp 2024-05-19 15:00:14 +03:00
Alexey Milovidov
31f0b2f741
Update MergeTreeIndexSet.cpp 2024-05-19 14:52:51 +03:00
Alexey Milovidov
332ec7c51f
Update MergeTreeIndexSet.cpp 2024-05-19 14:28:04 +03:00
Robert Schulze
17ce449076
Move isAllASCII from UTF8Helpers to StringUtils 2024-05-19 09:39:48 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Alexey Milovidov
2a9795f4e3 Minor changes 2024-05-19 10:45:19 +02:00
Alexey Milovidov
500475f2b8 Add a test 2024-05-19 10:45:05 +02:00
Robert Schulze
b405f934e4
Merge pull request #64024 from rschu1ze/throw-for-invalid-types
Deserialize untrusted binary inputs in a safer way
2024-05-19 07:13:52 +00:00
Alexey Milovidov
714420fc67 Speed up Set index a little 2024-05-19 09:00:35 +02:00
Alexey Milovidov
c940928bb5
Merge pull request #64091 from azat/fix-sanitizers-bump-clang
Fix sanitizers build by updating llvm/clang that includes fix for it
2024-05-19 08:42:05 +02:00
Azat Khuzhin
81a0c63928 Fix unwind on SIGSEGV on aarch64 (due to small stack for signal)
Only SIGSEGV uses alternative stack (sigaltstack()), which is very
small, 16K, and for aarch64 it is likely not enough for unwinding
(likely due to lots of registers on this platform):

    (gdb) bt
    #0  libunwind::CFI_Parser<libunwind::LocalAddressSpace>::parseFDEInstructions (addressSpace=..., fdeInfo=..., cieInfo=..., upToPC=<optimized out>, arch=4, results=<optimized out>) at ./contrib/libunwind/src/DwarfParser.hpp:561

And this is:

    554       case DW_CFA_remember_state: {
    555         // Avoid operator new because that would be an upward dependency.
    556         // Avoid malloc because it needs heap allocation.
    557         PrologInfoStackEntry *entry =
    558             (PrologInfoStackEntry *)_LIBUNWIND_REMEMBER_ALLOC(
    559                 sizeof(PrologInfoStackEntry));
    560         if (entry != NULL) {
    561           entry->next = rememberStack.entry;
    ^^^
    562           entry->info = *results;
    563           rememberStack.entry = entry;
    564         } else {
    565           return false;
    566         }
    567         _LIBUNWIND_TRACE_DWARF("DW_CFA_remember_state\n");
    568         break;
    569       }

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-19 08:11:53 +02:00
Azat Khuzhin
6ed515554b Revert "CI: disable ARM integration test cases with libunwind crash" 2024-05-19 08:11:53 +02:00
Max K
4e4d078786 return sync pr status to upstream from FinishCheck job 2024-05-18 20:36:04 +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
Max K
d5eac97d45 remove update_mergeable_check_from_ci.py 2024-05-18 19:53:06 +02:00
Max K
e3329a10f9 CI: mergeable check redesign 2024-05-18 18:25:48 +02:00
alesapin
086e5d73a4 Followup 2024-05-18 18:03:55 +02:00
Azat Khuzhin
3743b4a2ed Fix sanitizers build by updating llvm/clang that includes fix for it
Rebuild for clang 18.1.3, that contains a workaround [1] for sanitizers
issue [2]:

    $ git tag --contains  c2a57034eff048cd36c563c8e0051db3a70991b3 | tail -1
    llvmorg-18.1.3

 [1]: c2a57034ef
 [2]: https://github.com/ClickHouse/ClickHouse/issues/64086

Since right now version is not enough:

    $ docker run --rm -it clickhouse/test-util llvm-nm-18 --version
    llvm-nm, compatible with GNU nm
    Ubuntu LLVM version 18.1.2
      Optimized build.

But I don't see any fix for TSan, only MSan, but let's try.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-18 16:43:19 +02:00
alesapin
2983941ab8 Fix build for openssl
(cherry picked from commit 7efd5d3ab62024619e26dc6c3e28d50bffc98d70)
2024-05-18 16:35:15 +02:00
Azat Khuzhin
e885e9957e tests: fix expected error for 03036_reading_s3_archives
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-18 14:24:15 +02:00
Alexey Milovidov
5f938c9c2d
Merge pull request #64056 from jrdi/fix-rmt-is-deleted-docs
Improve ReplacingMergeTree is_deleted documentation
2024-05-18 07:28:22 +02:00
Alexey Milovidov
cde1b82ebd Print number tips in case of LowCardinality and Nullable 2024-05-18 06:42:59 +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
Alexey Milovidov
58e863f034
Merge pull request #64066 from ClickHouse/alexey-milovidov-patch-8
Add `ch-ui`
2024-05-18 05:16:09 +02:00
Alexey Milovidov
cafd074e0a Prevent stack overflow in Fuzzer and Stress test 2024-05-18 05:11:18 +02:00
Alexey Milovidov
8562d8595a This log message is better in Trace 2024-05-18 04:40:37 +02:00
Yohann Jardin
349f9eeeee harmonize h3PointDist* error messages 2024-05-18 00:29:22 +02:00
alesapin
24892b151a Try to fix grpc for aarch64 crosscompilation
(cherry picked from commit f3fbf532e0d4d7616f51a9c3d5087cf7b2e6d7d5)
2024-05-17 22:55:12 +02:00
Mikhail f. Shiryaev
8980e3bb40
Merge pull request #64062 from ClickHouse/style-mimetype-fallback
Files without shebang have mime 'text/plain' or 'inode/x-empty'
2024-05-17 20:35:12 +00:00
vdimir
e5ad196317
Merge pull request #62346 from ClickHouse/vdimir/analyzer_comapre_columns
Analyzer: Fix validateAggregates for tables with different aliases
2024-05-17 20:00:04 +00:00