Commit Graph

1897 Commits

Author SHA1 Message Date
Raúl Marín
2adf974395 Update re2 to 2021-04-01 for GCC 11 compatibility
Fixes the build with gcc version 11.1.0
2021-05-17 13:30:55 +02:00
Arslan G
ea51840f85 Init SQLite integration 2021-05-17 14:02:35 +03:00
Maksim Kita
af1eaea3e5
Merge pull request #24147 from amosbird/simdjsonfix
Bump simdjson to fix crash when alloc fails
2021-05-16 11:40:02 +03:00
alexey-milovidov
3695eb9c90
Merge pull request #24135 from Algunenano/zstd_1.5.0
Update zstd to v1.5.0
2021-05-15 17:04:30 +03:00
Amos Bird
fe6a956499
bump simdjson to fix crash when alloc fails 2021-05-15 14:15:51 +08:00
Benjamin Naecker
3252228852 Updates submodules bringing in several upstream changes to build on
illumos
2021-05-14 19:38:36 -07:00
Raúl Marín
5d2778dd2d Update zstd to v1.5.0 2021-05-15 00:57:24 +02:00
alesapin
f2a8b5b2c6 Fix concurrent snapshot read/write 2021-05-12 23:28:01 +03:00
Kruglov Pavel
fb038c1985
Merge pull request #23894 from pingyu/datasketches-uniq-again
Add uniqThetaSketch again
2021-05-11 11:24:43 +03:00
fibersel
94b159c510 add newlines 2021-05-06 16:34:27 +03:00
fibersel
d60c70a8da add submodules 2021-05-06 16:17:55 +03:00
fibersel
ef7b1750ef remove contribs 2021-05-06 15:58:21 +03:00
fibersel
a2f70306df add contribs 2021-05-06 15:55:03 +03:00
fibersel
7c9acb9f53 add dedicated cmake files for compression libraries 2021-05-06 15:26:03 +03:00
fibersel
9cfddff290 add new codecs from contrib to cmake 2021-05-06 15:08:58 +03:00
pingyu
c60c975125 update contrib/datasketches-cpp to upstream latest 2021-05-05 19:29:05 +08:00
pingyu
46f809d07f Revert "Merge pull request #23334 from ClickHouse/revert-22609-datasketches-uniq"
This reverts commit af2499359b, reversing
changes made to db82e9e3d5.
2021-05-05 16:42:57 +08:00
Mikhail Filimonov
ba7945367e
Update to librdkafka 1.6.1 2021-05-04 10:05:12 +02:00
Azat Khuzhin
78edd7e6f3 Update llvm to avoid MSan in IR::User
Should fix issue in 00746_compile_non_deterministic_function [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/23664/c54c6eb8e6c4741f9f0f91cdb7dce89fc061e20c/functional_stateless_tests_(memory).html#fail1
2021-04-29 21:06:38 +03:00
Azat Khuzhin
c54c6eb8e6 Update boost to avoid MSan in small_vector
Refs: https://github.com/ClickHouse-Extras/boost/pull/12
2021-04-29 10:43:56 +03:00
Nikolai Kochetov
c508868570
Merge pull request #23082 from ClickHouse/explain-output
JSON output for EXPLAIN
2021-04-28 15:39:06 +03:00
Yatsishin Ilya
2275c3e09a Fix cyrus-sasl msan warning 2021-04-27 10:45:16 +03:00
Alexey Milovidov
99272a325f Fix MSan report in GRPC 2021-04-25 05:48:49 +03:00
alexey-milovidov
a0df2f64a7
Merge branch 'master' into cleanup-rocksdb-cmake 2021-04-25 04:11:50 +03:00
Alexey Milovidov
3ad66b422f Remove some garbage from RocksDB CMakeLists 2021-04-25 01:21:27 +03:00
Alexey Milovidov
2e0ac4b5ca Somewhat better support for paths with whitespaces 2021-04-24 22:48:44 +03:00
Alexey Milovidov
4ff812db7f Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Alexey Milovidov
ea97a5a93a Reproducible build #22113 2021-04-24 01:44:23 +03:00
mergify[bot]
71bca99bbf
Merge branch 'master' into explain-output 2021-04-22 07:02:47 +00:00
Maksim Kita
b67f40bae1
Merge pull request #23357 from traceon/fix-disabled-odbc-compilation
Disable clickhouse-odbc-bridge build when ODBC is disabled
2021-04-21 01:13:49 +03:00
Denis Glazachev
8c3addd2b7 Bump zlib-ng submodule 2021-04-20 15:58:33 +04:00
Denis Glazachev
b349e84fc7 Use nanodbc always together with odbc
Disable clickhouse-odbc-bridge building when odbc is disabled
2021-04-20 15:07:05 +04:00
alexey-milovidov
62899436db
Revert "add uniqThetaSketch" 2021-04-20 03:34:21 +03:00
Nikolai Kochetov
8c2d58333a Merge branch 'master' into explain-output 2021-04-19 17:40:27 +03:00
alesapin
14800f0c52
Merge pull request #23038 from ClickHouse/keeper_bench_mark
Add tool for [Zoo]Keeper benchmark
2021-04-19 10:47:29 +03:00
Kruglov Pavel
995973bf1f
Merge pull request #22609 from pingyu/datasketches-uniq
add uniqThetaSketch
2021-04-19 10:32:29 +03:00
Maksim Kita
aac96de051 Zlib use attribute constructor for functable initialization 2021-04-18 17:29:27 +03:00
alesapin
2035fb3edc Merge branch 'master' into keeper_bench_mark 2021-04-18 12:29:16 +03:00
Vitaly Baranov
2cb4405490 Fix waiting for all connections closed on shutdown. 2021-04-17 16:06:27 +03:00
alesapin
9fb3784f19 Merge branch 'master' into keeper_bench_mark 2021-04-17 15:58:33 +03:00
Maksim Kita
4be441c6d5
Merge branch 'master' into support-apple-m1 2021-04-16 23:33:12 +03:00
Alexander Kuzmenkov
7adc0fde82
Merge pull request #23088 from azat/jemalloc-tunning
jemalloc tuning
2021-04-16 22:17:03 +03:00
alesapin
690045c67f Fix nasty bug 2021-04-16 21:31:23 +03:00
Maksim Kita
a809323179 Updated zlib version 2021-04-16 21:15:32 +03:00
Nikolai Kochetov
1244ae4f45 Update boost. 2021-04-16 14:40:36 +03:00
Azat Khuzhin
29281ea6e0 jemalloc: set muzzy_decay_ms/dirty_decay_ms to 5s 2021-04-16 10:54:11 +03:00
Maksim Kita
75d18a6d27 Updated zlib-ng aarch64 2021-04-16 10:45:53 +03:00
Maksim Kita
55b1fc5a21 Updated zlib-ng 2021-04-16 00:18:52 +03:00
Maksim Kita
4affe01ffb Backport zlib x86 arm check features constructor 2021-04-15 23:30:41 +03:00
Maksim Kita
09571ca91f Updated zlib-ng submodule 2021-04-15 22:22:40 +03:00
changvvb
4eee2d0977 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-15 22:54:26 +08:00
Maksim Kita
77bc9e04c6 Updated zlib with apple linker fix 2021-04-15 17:50:28 +03:00
Azat Khuzhin
da6dc64e04 jemalloc: set dirty_decay_ms/muzzy_decay_ms to 1 second 2021-04-15 00:34:46 +03:00
Nikolai Kochetov
8be3f4e690 Remove JSON for Modern C++ 2021-04-14 17:09:48 +03:00
Alexey Milovidov
6fcbfe2053 Update zlib-ng 2021-04-14 02:08:32 +03:00
Kruglov Pavel
6350f734dc
Merge branch 'master' into datasketches-uniq 2021-04-13 19:34:15 +03:00
alesapin
6d8efe5d5b
Merge pull request #22992 from ClickHouse/ssl_keeper
Add SSL to keeper (both client and internal)
2021-04-13 19:15:07 +03:00
Nikolai Kochetov
8a41e63e2a Add JSON for Modern C++ 2021-04-13 18:12:12 +03:00
alesapin
ef34c95c7e Add SSL to keeper (both client and internal) 2021-04-12 15:25:52 +03:00
kssenii
7a287e6fe9 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-11 21:36:08 +00:00
changvvb
03a2ba315b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-10 21:31:38 +08:00
changvvb
06e23ab981
Apply suggestions from code review
Co-authored-by: Denis Glazachev <traceon@users.noreply.github.com>
2021-04-10 20:08:49 +08:00
alexey-milovidov
2d4a8c4787
Merge pull request #22885 from traceon/gcc-macos-compilation-fixes
Fix vanilla GCC compilation in macOS
2021-04-10 14:17:11 +03:00
changvvb
facbb0368b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-09 23:19:19 +08:00
Denis Glazachev
55e6b65825 Bump submodules to versions with fixes
Change flatbuffers submodule to internal fork
2021-04-09 18:07:11 +04:00
Alexander Kuzmenkov
db78cc7b86
Merge pull request #22834 from nvartolomei/nv/exp-jemalloc-prof-disabled-overhead
Experiment building jemalloc with profiling support for all builds to see how it impacts performance tests
2021-04-09 15:51:28 +03:00
Nikolai Kochetov
e279040813 Update boost. 2021-04-09 14:38:19 +03:00
kssenii
72d89bc933 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-09 11:13:01 +00:00
Denis Glazachev
e8464d61f1 Fix vanilla GCC compilation in macOS 2021-04-09 04:28:24 +04:00
Maksim Kita
a7e761d04f Updated MariaDB connector fix cmake 2021-04-08 21:47:12 +03:00
Denis Glazachev
392000891d Bump zlib-ng with a fix for arm64 AppleClang linker 2021-04-08 19:08:13 +04:00
Denis Glazachev
4e58b6fe11 Syntax fix 2021-04-08 19:07:34 +04:00
Denis Glazachev
4b116c214c Disable jemalloc for ALL macOS non-RelWithDebInfo builds
Revisit default ENABLE_* flag setting
2021-04-08 19:05:04 +04:00
changvvb
cf8abfd9b7 Revert "Update openldap header files"
This reverts commit 21a2eb32f2.
2021-04-08 22:45:17 +08:00
changvvb
b070090ca7 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-08 18:11:16 +08:00
Nicolae Vartolomei
dd75447514 Experiment building jemalloc with profiling support for all builds to see how it impacts performance tests 2021-04-08 09:52:28 +01:00
changvvb
21a2eb32f2 Update openldap header files 2021-04-08 10:28:51 +08:00
alesapin
c85a60d795
Merge pull request #22743 from ClickHouse/fix_potential_segfault_on_startup
Fix potential segfault on Keeper startup
2021-04-07 23:10:29 +03:00
alexey-milovidov
a5179cf444
Merge pull request #22744 from amosbird/librdkafkaharmful
Avoid using harmful function rand()
2021-04-07 20:05:13 +03:00
alesapin
36c0e601a9 Better non-dirty fix 2021-04-07 13:18:07 +03:00
Amos Bird
1364d939a1
Avoid using harmful function rand() 2021-04-07 17:04:35 +08:00
kssenii
5a143a4d12 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-06 16:50:13 +00:00
changvvb
46c52b4f83 revert rocksdb submodule 2021-04-06 21:48:33 +08:00
alexey-milovidov
bee6cddb95
Merge pull request #22656 from mastertheknife/allow_unbundled_xz_lzma
Skip compiling xz if we're using system xz (unbundled)
2021-04-06 14:41:18 +03:00
changvvb
fdcf077cf5 Disabled rocksdb jemalloc 2021-04-06 17:06:18 +08:00
changvvb
1f8bd034a3 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-04-06 15:55:03 +08:00
kssenii
38f135ab39 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-05 15:37:53 +00:00
pingyu
e05ee09621 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-uniq 2021-04-05 16:47:53 +08:00
mastertheknife
3c3da1f120 Skip compiling xz if we're using system xz (unbundled) 2021-04-05 09:16:08 +03:00
alesapin
76d0e60e26 Merge branch 'master' into jepsen_for_ci 2021-04-04 16:07:53 +03:00
alesapin
925f2103f0 Update NuRaft submodules (merge with master + better autoforwarding 2021-04-03 15:37:24 +03:00
kssenii
90db0be8e9 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-03 08:01:13 +00:00
alexey-milovidov
18cb1bad25
Merge pull request #22475 from mastertheknife/ppc64le_disable_incompatible_libraries
ppc64le: Disable incompatible libraries (platform specific typically)
2021-04-02 21:29:11 +03:00
mastertheknife
2952cb296d Disable base64, fastops and libcpuid on unsupported platforms better 2021-04-02 13:57:46 +03:00
alexey-milovidov
e1d334b8e2
Merge pull request #22487 from mastertheknife/ppc64le_enable_bundled_openldap
ppc64le: Enable the bundled openldap
2021-04-02 10:07:14 +03:00
alexey-milovidov
172835eff0
Merge pull request #22474 from mastertheknife/ppc64le_fix_compile_boost
ppc64le: Fix compiling boost
2021-04-02 10:02:18 +03:00
alexey-milovidov
eec4ac75b0
Merge pull request #22445 from mastertheknife/ppc64le_fix_embedding
ppc64le: Fix config and timezone embedding.
2021-04-02 09:59:36 +03:00
mastertheknife
b4003a07d2 ppc64le: Enable the bundled openldap 2021-04-02 06:32:09 +03:00
mastertheknife
0692459f9f ppc64le: Disable incompatible libraries (platform specific typically) 2021-04-02 00:06:21 +03:00
mastertheknife
deb10ab122 ppc64le: Fix compiling boost 2021-04-01 23:38:57 +03:00
mastertheknife
2d83cb38a3 ppc64le: Enable building with jemalloc 2021-04-01 18:25:42 +03:00
mastertheknife
eb127ded95 ppc64le: Fix config and timezone embedding. 2021-04-01 18:12:51 +03:00
Kseniia Sumarokova
e3fac9ef32
Merge branch 'master' into nanodbc 2021-04-01 16:38:00 +03:00
pingyu
86d8bc1c54 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-uniq 2021-04-01 12:35:24 +08:00
Alexey Milovidov
88d84f1934 Update submodule 2021-04-01 03:18:24 +03:00
Alexey Milovidov
12ff56673b Merge branch 'master' into datasketches-cmake 2021-04-01 03:17:05 +03:00
Alexey Milovidov
2f7ac2424d Merge branch 'master' into datasketches-cmake 2021-03-31 08:47:27 +03:00
Alexey Milovidov
1b218465c5 Remove recursive submodules 2021-03-31 04:41:25 +03:00
alexey-milovidov
d7c15c6b9a
Merge pull request #22289 from traceon/fix-apple-clang-build
Fix native macOS build for ALL_BUILD (Xcode/AppleClang)
2021-03-30 23:55:13 +03:00
kssenii
9b565b37b5 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-03-30 10:35:24 +00:00
alexey-milovidov
4e4d33e93b
Merge branch 'master' into fix-apple-clang-build 2021-03-30 13:15:07 +03:00
Alexey Milovidov
e9e4e0e490 Maybe fix false MSan report in GRPC 2021-03-30 04:08:52 +03:00
Alexey Milovidov
b005081103 Update libdivide to the latest master (2) 2021-03-30 00:37:27 +03:00
kssenii
4cb50a2995 Update nanodbc 2021-03-29 17:36:17 +00:00
changvvb
c1c5db1944 Update jemalloc_internal_defs & fix unit test 2021-03-30 00:07:34 +08:00
Denis Glazachev
9ab41fe4c4 Fix C++ standard version for LLVM subproject 2021-03-29 17:09:50 +04:00
Denis Glazachev
b84c55794d Set C++20 standard version consistently (based on CMake version, etc.)
Use C++17 when building the bundled cassandra subproject, since it (and rapidjson) is failing to compile with C++20
2021-03-29 14:52:09 +04:00
pingyu
69ac23e870 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-uniq 2021-03-29 14:48:14 +08:00
kssenii
364a6a5e7a Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-03-28 21:19:49 +00:00
pingyu
48b745206c wip #14893 2021-03-28 11:49:49 +08:00
alesapin
ced6d8e6bd
Merge pull request #21677 from ClickHouse/jepsen_for_nukeeper
Jepsen for nukeeper
2021-03-27 10:18:42 +03:00
pingyu
8337792722 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-cmake 2021-03-27 11:31:26 +08:00
kssenii
5f5be3c0de Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-03-26 20:14:09 +00:00
changvvb
5e07551d17 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-03-26 16:57:26 +08:00
alexey-milovidov
e5b96bd93b
Merge pull request #22105 from amosbird/rp
Bump replxx
2021-03-25 16:04:13 +03:00
alesapin
4c28c25a75 Merge branch 'master' into jepsen_for_nukeeper 2021-03-25 14:34:00 +03:00
Vitaly Baranov
86a293d6c8
Merge pull request #22057 from vitlibar/update-simdjson
Update simdjson
2021-03-25 13:27:05 +03:00
alesapin
d36d3f036d Fix several races in NuRaft 2021-03-25 13:04:16 +03:00
Amos Bird
1bdf12b3f1
bump replxx 2021-03-25 10:44:10 +08:00
Vitaly Baranov
1f4df07e08 Update used version of simdjson to 0.9.1 2021-03-23 20:58:30 +03:00
kssenii
167c9d3aeb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-03-23 05:52:21 +00:00
kssenii
c81ab04e8f Switch to nanodbc 2021-03-22 12:37:05 +00:00
pingyu
83b7ab1fb5 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into datasketches-cmake 2021-03-20 21:15:07 +08:00
changvvb
a8a38ae9e9 Update 2021-03-19 14:41:05 +08:00
changvvb
d6de2005c8 Update 2021-03-19 14:34:52 +08:00
changvvb
8efd6c5e20 Update 2021-03-19 14:34:30 +08:00
changvvb
7d716fe56c Update 2021-03-19 14:04:57 +08:00
kssenii
f1ef87d966 Fix 2021-03-18 20:04:54 +00:00
changvvb
bba600d558 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1 2021-03-16 13:26:00 +08:00
Maksim Kita
1b2ed51ff5
Merge pull request #21695 from azat/O_CLOEXEC-for-listen-sockets
Set SOCK_CLOEXEC for sockets (hardcoded via poco update)
2021-03-15 23:43:32 +03:00
changvvb
abe71ebbaa try to fix rocksdb but not success 2021-03-15 19:03:24 +08:00
Azat Khuzhin
092b0b49f0 Set SOCK_CLOEXEC for sockets (hardcoded via poco update)
Found this in [1]:

    [Detaching after fork from child process 184152]
    ...
    Cannot get server pid with {}, got {}: {} lsof -i tcp:9000 -s tcp:LISTEN -Fp | awk '/^p[0-9]+$/{print substr($0, 2)}' b'301\n184152\n' invalid literal for int() with base 10: b'301\n184152\n'

But the major idea is that parent process should not export any file
descriptors to childrens, otherwise this may create security and other
breaches (like extra pipe endpoints, ...)

  [1]: https://clickhouse-test-reports.s3.yandex.net/21511/d7d9638ceb6bd702f34a88ee54f8f83197e90af5/stress_test_(address).html#fail1

Refs: https://github.com/ClickHouse-Extras/poco/pull/35
2021-03-13 13:00:16 +03:00
Alexey Milovidov
e8919c49fb Merge branch 'master' into replace-memcpy 2021-03-13 09:39:58 +03:00
changvvb
1c973c164b Update submodule url 2021-03-12 13:54:00 +08:00
changvvb
1819137756 revert submodule commit 2021-03-12 13:35:39 +08:00
changvvb
99ce2de107 Update 2021-03-12 13:24:29 +08:00
alexey-milovidov
494c6294b3
Merge pull request #21597 from qoega/fixes-clang-12-cmake-3.19
Prepare to use clang 12 and cmake 3.19
2021-03-11 23:45:53 +03:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP 2021-03-11 23:41:10 +03:00
changvvb
ce4c81c5ff Update 2021-03-12 01:40:08 +08:00
changvvb
fcb238715b Support apple m1 2021-03-12 01:12:52 +08:00