Commit Graph

1863 Commits

Author SHA1 Message Date
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
alesapin
b30a0c68da
Merge pull request #21593 from ClickHouse/enable_ipv6_in_nuraft
Enable ipv6 in NuRaft
2021-03-11 12:13:19 +03:00
Yatsishin Ilya
abbf4b01c2 Merge remote-tracking branch 'origin/master' into fixes-clang-12-cmake-3.19 2021-03-11 09:44:30 +03:00
Nikita Mikhaylov
39b59e86b0
Merge pull request #21456 from nikitamikhaylov/zookeeper-secure-race
Fix race in SecureSocket
2021-03-10 20:49:56 +03:00
alesapin
a9032215a6 Enable ipv6 in NuRaft 2021-03-10 16:38:15 +03:00
Yatsishin Ilya
f5758b8fbf updated submodules to build with CMake 3.19 2021-03-10 11:36:07 +03:00
Maksim Kita
43ba554191
Merge pull request #20595 from kitaisreal/cache-dictionaries-lru-cache
Cache dictionaries lru cache
2021-03-09 19:14:30 +03:00
Nikita Mikhaylov
dfad6dca64 bump poco to merged PR 2021-03-09 16:24:53 +03:00
Nikita Mikhaylov
0a44cdc50c bump poco 2021-03-09 16:24:53 +03:00
Nikita Mikhaylov
3acc4795ea bump poco 2021-03-09 16:24:53 +03:00
Nikita Mikhaylov
2c6fe0ea69 add poco 2021-03-09 16:24:53 +03:00
Alexey Milovidov
e02de2355e Remove useless files 2021-03-08 13:22:17 +03:00
Alexey Milovidov
da32a617b2 Merge branch 'jart-memcpy' into replace-memcpy 2021-03-08 12:15:49 +03:00
Alexey Milovidov
2c86bc4ea3 Addition to prev. revision 2021-03-08 10:00:54 +03:00
Alexey Milovidov
cc2837485f Remove prefetch 2021-03-08 09:25:02 +03:00
Maksim Kita
ae88bbda5a Updated CacheDictionary 2021-03-06 14:36:37 +03:00
Alexey Milovidov
680b0d1531 Merge branch 'master' into jart-memcpy 2021-03-03 20:11:38 +03:00
alesapin
eb5e416fd5 Merge branch 'master' into persistent_nukeeper_snapshot_storage 2021-03-03 19:19:02 +03:00
alesapin
e6f4ce1741 Better initial batch callback 2021-03-03 19:16:55 +03:00
alesapin
e77f7e57e2 Better initial batch callback 2021-03-03 19:13:29 +03:00
Alexey Milovidov
50c62c3b4c Add memcpy implementation from @jart 2021-03-02 22:12:30 +03:00
Pavel Kruglov
153bfbfc28 Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests 2021-03-02 11:59:32 +03:00
Pavel Kruglov
197058dc12 Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests 2021-02-27 00:36:33 +03:00
kssenii
991718d459 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into brotli 2021-02-26 14:31:24 +00:00
kssenii
2b401cfa7c Update brotli to a version with a recent origin fix: "encoder: fix rare access to uninitialized data in ring-buffer" 2021-02-26 11:50:01 +00:00
pingyu
08126030d6 wip #14893 2021-02-26 00:44:01 +08:00
alesapin
cdaad3ad94 Fix server stop 2021-02-24 16:51:56 +03:00
alesapin
a1901383ae Improve performance and fix condition variable wait 2021-02-24 14:54:14 +03:00
Pavel Kruglov
e08be0a9a1 Commit contrib change 2021-02-21 20:38:54 +03:00
alesapin
12d05c2792 Better startup 2021-02-19 17:47:53 +03:00
alesapin
786e687b2f Trying to avoid unlimited wait 2021-02-08 14:01:50 +03:00
alesapin
d5ee7d33e9 Merge branch 'master' into in_memory_raft 2021-02-08 10:30:31 +03:00
Alexey Milovidov
375a9b4407 Fix build 2021-02-07 16:20:00 +03:00
alesapin
7b96ef61e8 Add logging if Poco cannot allocate thread in tcp server 2021-02-05 14:48:09 +03:00
alesapin
0aca40d8cb Merge branch 'master' into in_memory_raft 2021-02-01 14:30:11 +03:00