Commit Graph

3253 Commits

Author SHA1 Message Date
Antonio Andelic
3418a8e955 use master for aws 2023-02-08 10:07:30 +00:00
SadiHassan
b3d8dd766f update CapnProto to v0.10.3 to avoid CVE-2022-46149 2023-02-07 14:47:28 -08:00
Nikolay Degterinsky
e5b5fce970
Update liburing CmakeLists.txt 2023-02-07 18:11:43 +01:00
MeenaRenganathan22
2445a391fb Updating the libhdfs3 to reflect the revert of PR#21 2023-02-07 09:05:12 -05:00
Han Fei
0f7defb87f
Merge branch 'master' into hanfei/gwp-asan 2023-02-07 14:55:55 +01:00
HarryLeeIBM
3f78c86b31 Fix endian issue in CityHash for s390x 2023-02-06 15:51:08 -08:00
MeenaRenganathan22
e8f45ddf59 Updating the submodule to reflect the latest changes i.e revert of PR#24 2023-02-06 10:22:29 -05:00
Anton Popov
3850a1969d
Merge branch 'master' into fix-memory-leak-azure 2023-02-06 16:21:56 +01:00
MeenaRenganathan22
722e389847 Updating the submodule to the local branch HDFS_PowerPC 2023-02-03 17:45:48 -08:00
Anton Popov
e9f80c650a fix memory leak at creation of curl connection in azure sdk 2023-02-03 20:10:39 +00:00
Antonio Andelic
d5117f2aa6
Define S3 client with bucket and endpoint resolution (#45783)
* Update aws

* Define S3 client with bucket and endpoint resolution

* Add defines for ErrorCodes

* Use S3Client everywhere

* Remove unused errorcode

* Add DROP S3 CLIENT CACHE query

* Add a comment

* Fix style

* Update aws

* Update reference files

* Add missing include

* Fix unit test

* Remove unneeded declarations

* Correctly use RetryStrategy

* Rename S3Client to Client

* Fix retry count

* fix clang-tidy warnings
2023-02-03 14:30:52 +01:00
Anton Popov
cdbe145bc1
Merge pull request #45796 from CurtizJ/fix-leak-in-azure-sdk
Fix test `test_azure_blob_storage_zero_copy_replication ` (memory leak in azure sdk)
2023-02-03 14:16:19 +01:00
MeenaRenganathan22
7435ba1e3d Updating the submodule and CMakeLists.txt 2023-02-02 17:36:03 -08:00
jasperzhu
38a73c9bfe
Merge branch 'master' into iaadeflate_upgrade_qpl_v1.0.0 2023-02-02 10:20:49 +08:00
jinjunzh
d60fe99c4e Merge branch 'iaadeflate_upgrade_qpl_v1.0.0' of https://github.com/jinjunzh/ClickHouse into iaadeflate_upgrade_qpl_v1.0.0 2023-02-02 09:28:33 -05:00
jinjunzh
4089c34337 move the content of idxd-config-cmake into QPL-cmake 2023-02-02 09:26:27 -05:00
jinjunzh
40e9834313 Merge branch 'iaadeflate_upgrade_qpl_v1.0.0' of https://github.com/jinjunzh/ClickHouse into iaadeflate_upgrade_qpl_v1.0.0 2023-02-01 09:49:46 -05:00
jinjunzh
2a42c1314b Improved code detals according to suggestions 2023-02-01 09:45:06 -05:00
Robert Schulze
a92595890c
Merge pull request #45670 from HarryLeeIBM/hlee-s390x-snappy-endian
Fix endian issue in snappy lib for s390x
2023-02-01 11:55:07 +01:00
Antonio Andelic
a3e3b65b32
Merge branch 'master' into keeper-use-fallocate 2023-02-01 09:05:49 +01:00
Alexey Milovidov
bf9f62dcbd
Merge pull request #38456 from sauliusvl/iouring
Re-introduce io_uring read method
2023-02-01 06:41:32 +03:00
jasperzhu
7ee8af9123
Merge branch 'master' into iaadeflate_upgrade_qpl_v1.0.0 2023-02-01 10:42:19 +08:00
jinjunzh
3bc0c13ea0 Update QPL version from v0.3.0 to v1.0.0 2023-01-31 09:31:26 -05:00
jinjunzh
d1d5f06260 add libaccel-config as submodule and static link to QPL 2023-01-31 09:24:43 -05:00
Han Fei
716518f143
Merge branch 'master' into hanfei/gwp-asan 2023-01-31 15:01:25 +01:00
Antonio Andelic
1786237be6 Merge branch 'master' into keeper-use-fallocate 2023-01-31 13:53:47 +00:00
Robert Schulze
ffa00fc134
Merge pull request #45632 from ClibMouse/icudata_s390x_support
support icudata on s390x platform
2023-01-31 12:27:09 +01:00
jasperzhu
53ed394447
Merge branch 'master' into iaadeflate_upgrade_qpl_v1.0.0 2023-01-31 11:12:31 +08:00
Alexey Milovidov
7aa10a430a
Merge branch 'master' into hanfei/gwp-asan 2023-01-31 04:13:59 +03:00
Anton Popov
839cd614fb fix memory leak in azure sdk 2023-01-31 01:01:10 +00:00
Robert Schulze
19b3c1cc3f
Merge pull request #45519 from ClibMouse/fix_krb5_openssl
Fix krb5 for OpenSSL
2023-01-30 11:48:32 +01:00
Robert Schulze
49b7c45686
Add note about OpenSSL 2023-01-29 20:03:50 +00:00
Saulius Valatka
a7d1e62054 bump liburing 2023-01-28 21:54:44 +02:00
Saulius Valatka
fb45ed038f add liburing to build 2023-01-28 21:54:44 +02:00
MeenaRenganathan22
9f43446959 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HDFS_PowerPC 2023-01-27 10:08:26 -05:00
Robert Schulze
dae708c588
Merge pull request #45593 from genzgd/update_poco_http
Update poco version
2023-01-27 00:08:24 +01:00
HarryLeeIBM
27857901eb Fix endian issue in snappy lib for s390x 2023-01-26 07:20:08 -08:00
Antonio Andelic
80e7dca288 Update NuRaft 2023-01-26 10:08:24 +00:00
Antonio Andelic
f02a763830
Merge pull request #45511 from ClickHouse/keeper-fix-race-asio-listener
Fix race in NuRaft's asio listener
2023-01-26 09:21:03 +01:00
bkuschel
5aa3c10c3f
Fix Cmake 2 2023-01-25 17:58:09 -05:00
SuzyWangIBMer
e3c286de29 support icudata on s390x platform 2023-01-25 22:53:03 +00:00
bkuschel
748c3ad015
Fix build error 2023-01-25 13:35:31 -05:00
bkuschel
d6d2414ef8 Remove aes.c and use the one krb5 2023-01-25 13:29:54 -05:00
bkuschel
ec1e0bde6b Update krb5 2023-01-25 13:29:54 -05:00
Antonio Andelic
e7a86998ef Fix race more 2023-01-25 11:46:59 +00:00
Antonio Andelic
7421d8f872 Merge branch 'master' into keeper-use-fallocate 2023-01-25 11:36:47 +00:00
MeenaRenganathan22
6f76ecfdb5 Committing the libhdfs3-cmake/CMakeLists.txt to include the IntelAsmCrc32c.cpp and perf_checksum.cpp 2023-01-24 20:33:25 -05:00
MeenaRenganathan22
359775a1cf Updated yhe libhdfs3 submoule 2023-01-24 20:31:33 -05:00
Geoff Genz
909cb9b6b1 Update poco version 2023-01-24 16:40:01 -07:00
MeenaRenganathan22
78a4c8a270 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HDFS_PowerPC 2023-01-24 11:30:52 -05:00
Kruglov Pavel
689fbea759
Merge pull request #45478 from Avogar/fix-arrow-abort
Fix possible aborts in arrow lib
2023-01-24 16:37:44 +01:00
Antonio Andelic
71f754b6f6 Fix race in NuRaft 2023-01-24 11:16:55 +00:00
Suzy Wang
1176260b3c
Merge branch 'master' into z-build-0120 2023-01-24 01:14:42 -05:00
Suzy Wang
b7ba24945f fix build 2023-01-23 22:09:08 -08:00
Suzy Wang
fb46b5ed4d s390x support 2023-01-23 14:20:49 +00:00
Suzy Wang
19d26828a0 s390x build support 2023-01-20 21:16:55 +00:00
avogar
4432ee9927 Fix aborts in arrow lib 2023-01-20 16:40:33 +00:00
Han Fei
8b29f8406b
Merge branch 'master' into hanfei/gwp-asan 2023-01-20 11:03:12 +01:00
MeenaRenganathan22
f66dbf6372 Committing the CMakeLists.txt with IntelAsmCrc32c.cpp and perf_checksum.cpp 2023-01-18 13:47:16 -05:00
MeenaRenganathan22
c6c4246314 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HDFS_PowerPC 2023-01-18 10:09:07 -05:00
Han Fei
29b20775f7 not compile gwp in non-linux environment 2023-01-17 23:06:44 +01:00
Alexander Tokmakov
e7899825e6 save format strings for DB::Exceptions 2023-01-16 23:20:33 +01:00
MeenaRenganathan22
9f571d3e93 Updating the submodules libhdfs3 and libgsasl 2023-01-16 08:28:03 -05:00
Alexander Tokmakov
2d7773fccc Merge branch 'master' into text_log_add_pattern 2023-01-13 20:33:46 +01:00
Han Fei
7feb9b7f6f Merge branch 'master' into hanfei/gwp-asan 2023-01-13 20:26:34 +01:00
MeenaRenganathan22
245bcaa75a Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HDFS_PowerPC 2023-01-13 12:49:41 -05:00
Han Fei
214830c569 enable gwp_asan by option 2023-01-13 15:22:14 +01:00
Robert Schulze
9779d034eb
Merge pull request #45144 from ClibMouse/crc-power-fix
Changes to support the CRC32 in PowerPC.
2023-01-13 11:24:18 +01:00
Han Fei
f5e736e240 introduce llvm/gwp-asan 2023-01-12 15:00:26 +01:00
Antonio Andelic
6a0e481ed7 Merge branch 'master' into keeper-use-fallocate 2023-01-12 13:57:05 +00:00
alesapin
3245e822ef Update merge 2023-01-12 12:55:50 +01:00
MeenaRenganathan22
28d5c3cf7f Addressed the review comments 2023-01-11 17:00:10 -08:00
alesapin
e581a56ed0 Better 2023-01-11 15:30:48 +01:00
alesapin
fe8f373aa6 Less stupid tests 2023-01-11 15:20:18 +01:00
MeenaRenganathan22
25c94dfa83 Changes to support the CRC32 in PowerPC to address the WeakHash collision issue. Update the reference to support the hash values based on the specific platform 2023-01-10 21:20:13 -08:00
Meena Renganathan
ba5111905e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HDFS_PowerPC 2023-01-10 19:13:13 -05:00
alesapin
9b16b3f48f Fix potential memory leak 2023-01-11 01:03:01 +01:00
Alexey Milovidov
4995ce945e Fix TSan report in SQLite (false positive) 2023-01-08 05:40:48 +01:00
Alexey Milovidov
77708b4a03 Update SQLite 2023-01-08 05:22:56 +01:00
Ilya Yatsishin
2703b47d31
Merge pull request #44942 from vitlibar/fix-memory-leak-in-aws-init
Fix memory leak in Aws::InitAPI
2023-01-06 12:12:46 +01:00
Vitaly Baranov
239734ceb6 Fix memory leak in Aws::InitAPI. 2023-01-06 00:40:18 +01:00
Meena Renganathan
06e44827a3 Added the file DataReader.cpp in source list when the HDFS submodule has been updated to the latest commit 2023-01-05 15:21:31 -05:00
Meena Renganathan
ba0edb310f Changes to support the HDFS in PowerPC 2023-01-05 15:21:14 -05:00
Yakov Olkhovskiy
1be48f706b
Merge pull request #43706 from ClibMouse/s390x_crc32
s390x weakhash32 support
2023-01-05 14:45:20 -05:00
Robert Schulze
a4322b3057
Merge pull request #44894 from ClickHouse/upgrade-googletest
Upgrade googletest to latest HEAD
2023-01-04 21:49:56 +01:00
alesapin
92255e5d4b
Merge pull request #43020 from vitlibar/update-aws-c-submodules
Update aws-c* submodules
2023-01-04 16:25:22 +01:00
Robert Schulze
23196ceffd
Upgrade googletest to their lastest main state 2023-01-04 10:44:39 +00:00
Nikolay Degterinsky
57b3fbf206 Fix build 2023-01-04 02:24:14 +00:00
Nikolay Degterinsky
c6daf0a6eb Merge remote-tracking branch 'upstream/master' into ulid 2023-01-03 19:58:50 +00:00
Robert Schulze
27f5aad49e
What happens if I remove 156 lines of code? 2023-01-03 18:51:16 +00:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Antonio Andelic
14355d8009 Merge branch 'master' into keeper-use-fallocate 2023-01-02 08:22:27 +00:00
Vitaly Baranov
9014be8968 Fix disable loading EC2 metadata by aws-sdk-core. 2022-12-29 12:26:43 +01:00
Nikolay Degterinsky
7bb8db4bb3 Add generateULID function 2022-12-28 00:54:50 +00:00
avogar
5c42b78766 Forbid paths in timezones in cctz lib 2022-12-27 17:52:38 +00:00
Alexey Milovidov
3342b84321
Merge pull request #44569 from ClickHouse/stack-traces-debug-build
Fix extremely slow stack traces in debug build
2022-12-27 14:31:35 +03:00
Vitaly Baranov
c7e1aa2ea0 Fix finding pthread_atfork() while linking ppc64le build. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
dffeb2a54a Disable memory sanitizer for events from epoll 2022-12-25 18:24:35 +01:00
Vitaly Baranov
fea3a6280c Fix race condition in cJSON_Parse.* calls. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
e23c42d042 Fix checking for embedded error in PocoHTTPClient. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
1eb0d5db16 Disable loading EC2-metadata. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
f8f598e298 Correctly handle that dlopen(NULL) returns NULL in ClickHouse. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
8efb1ae7bb Fix support for boringssl. 2022-12-25 18:24:35 +01:00
Vitaly Baranov
665813e127 Remove subsubmodules contrib/aws/crt and contrib/aws-crt-cpp/crt
because they were moved to the contrib folder.
2022-12-25 18:24:35 +01:00
Vitaly Baranov
8e53b54082 Update AWS SDK to version 1.10.36 2022-12-25 18:24:35 +01:00
Vitaly Baranov
fa722c6cd8 Switch "contrib/sysroot" back to master. 2022-12-25 10:50:45 +01:00
Alexey Milovidov
4651a538a8 Fix extremely slow stack traces in debug build 2022-12-24 20:31:04 +01:00
Alexander Tokmakov
93509395fb add a column with a message pattern to text_log 2022-12-23 15:06:30 +01:00
Antonio Andelic
fcb78cd1d7 Update NuRaft 2022-12-19 12:05:15 +00:00
Alexey Milovidov
a3dc5e8b0a
Merge pull request #44132 from azat/bump-libdivide
Bump libdivide (to gain some new optimizations)
2022-12-17 04:07:08 +03:00
Azat Khuzhin
92d70c66e8 corrosion: export path to FindRust.cmake in CMAKE_MODULE_PATH
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:58:09 +01:00
Azat Khuzhin
440aa50588 corrosion: clean rules (remove useless message)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:01 +01:00
Azat Khuzhin
67fa185611
Revert "Builtin skim" 2022-12-14 17:17:19 +03:00
Azat Khuzhin
cdfe62f303 Update libdivide
This will includes at least [1].

  [1]: https://github.com/ridiculousfish/libdivide/pull/94

v2: Define LIBDIVIDE_* macros mutually exclusive
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-13 10:45:01 +01:00
Suzy Wang
093dc95d0f
Merge branch 'master' into s390x_crc32 2022-12-12 09:39:29 -05:00
Azat Khuzhin
67eab36086 corrosion-cmake: clean rules
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-11 15:51:37 +01:00
Alexey Milovidov
9a48cf0da8
Merge pull request #40422 from pkubaj/patch-1
Add FreeBSD/powerpc64le support
2022-12-11 09:38:04 +03:00
Alexey Milovidov
03648ab5a9
Merge pull request #43991 from ClibMouse/openssl_support
Add OpenSSL option to Clickhouse
2022-12-11 07:59:23 +03:00
Suzy Wang
1903a1b645
Merge branch 'master' into s390x_enable_base64 2022-12-09 16:15:39 -05:00
Suzy Wang
802f633f39
Merge branch 'master' into s390x_crc32 2022-12-09 15:00:46 -05:00
Boris Kuschel
cc3314acbe
Merge branch 'master' into openssl_support 2022-12-08 07:40:43 -05:00
Nikita Taranov
b81ad6aaf7
Add google benchmark to contrib (#43779)
* add google benchmark to contrib

* rework integer_hash_tables_and_hashes

* update readme

* keep benchmarks near the benchmarked code

* fix fasttests build

* rm old target

* fix
2022-12-08 13:38:08 +01:00
jinjunzh
47c3508337 fixed build issues for QPL 0.3.0 2022-12-07 16:41:12 -05:00
Boris Kuschel
f03f95044e OpenSSL code changes 2022-12-07 13:22:46 -05:00
Boris Kuschel
623f23f55d OpenSSL cmake changes 2022-12-07 13:22:46 -05:00
Boris Kuschel
6591e804c5 Add cmake support for openssl 2022-12-07 13:22:46 -05:00
Boris Kuschel
daab1fde8f Add OpenSSL submodule 2022-12-07 13:22:46 -05:00
Suzy Wang
75a298a275 fix cmake 2022-12-06 14:02:22 -08:00
jinjunzh
5206816b6c Update contrib/qpl to latest v0.3.0 2022-12-06 16:10:13 -05:00
Antonio Andelic
2623804dc5 Update NuRaft 2022-12-02 08:17:48 +00:00
Suzy Wang
e34af8602c
Merge branch 'master' into s390x_crc32 2022-12-01 11:02:43 -05:00
Suzy Wang
be16e0bce7 Include crc32_s390x as a submodule library 2022-12-01 07:43:32 -08:00
Antonio Andelic
c12c0cc8af Merge branch 'master' into parallel-log-appending 2022-12-01 08:53:52 +00:00
Antonio Andelic
0921356e91
Merge branch 'master' into parallel-log-appending 2022-11-30 09:42:38 +01:00
Alexey Milovidov
54e27d4230
Merge branch 'master' into build-libcxx-and-libcxxabi-from-llvm-project 2022-11-30 00:25:25 +01:00
Alexander Gololobov
e94ac23a4e Update Poco 2022-11-29 15:03:52 +01:00
Robert Schulze
829958e13a
Merge branch 'master' into build-libcxx-and-libcxxabi-from-llvm-project 2022-11-28 16:09:14 +01:00
Antonio Andelic
599f381217
Merge branch 'master' into parallel-log-appending 2022-11-26 09:04:27 +01:00
Nikita Taranov
d1c258cf20
Add xxh3 hash function (#43411)
* impl

* try fix

* add docs

* add test

* rm unused file

* excellent
2022-11-26 00:14:08 +01:00
Antonio Andelic
f79af2aea7 Merge branch 'master' into parallel-log-appending 2022-11-24 11:13:04 +00:00
Antonio Andelic
2d2c6eee30 Update NuRaft 2022-11-21 15:06:33 +00:00
Suzy Wang
d1a2af8670 Enable base64 on s390x platform 2022-11-16 13:01:10 -08:00
Azat Khuzhin
ddfea23804 Do not include libcxx library for C
If you will have the same header in both libraries you may have some
tricky failures.

And there is at least one header that exists in both: stdatomic.h

Right now there is a workaround for this header, that allows to use C++
version of this header for C - the workaround is called "set
_LIBCPP_COMPILER_CLANG_BASED not only for CXX" [1] and use include_next
[2].

  [1]: 9a457ab3c6/include/__config (L39)
  [2]: 9a457ab3c6/include/stdatomic.h (L223-L231)

However #42730 changes this, and now it fails to compile because of this.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-11 14:43:14 +01:00
Antonio Andelic
25b19e6ba0
Merge branch 'master' into manual_snapshot_for_keeper 2022-11-03 08:55:01 +01:00
Robert Schulze
c8068bdfa2
Merge pull request #42816 from azat/build/llvm-fix
Fix compilation of LLVM with cmake cache
2022-11-01 08:22:06 +01:00
Azat Khuzhin
b62170426a Fix compilation of LLVM with cmake cache
Simple reproducer:

    $ cmake
    $ ninja contrib/llvm-project/llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o # will have -std=c++14
    $ touch CMakeLists.txt
    $ cmake
    $ ninja contrib/llvm-project/llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o # will have -std=c++20 and fail
    (fails because std::vector cannot work with opaque types anymore)

Fixes: #42249 (cc @rschu1ze)
2022-10-31 10:56:05 +01:00
Alexey Milovidov
25d35a97f9 Update CCTZ to 2022f 2022-10-29 18:10:33 +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
Robert Schulze
a9427888be
Build libcxx and libcxxabi from llvm-project
Resolves #42245
2022-10-27 09:55:27 +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