Commit Graph

1651 Commits

Author SHA1 Message Date
alesapin
45192a2ef2 Fix epoll events in boost asio for msan 2021-01-26 11:46:05 +03:00
alesapin
a65430fcee Trying to fix fast test 2021-01-26 11:33:16 +03:00
Alexey Milovidov
b2607a358d Applied a patch from Alexei Fedotov @leshikus 2021-01-26 00:28:43 +03:00
alexey-milovidov
303db08231
Merge pull request #19369 from filimonov/kafka_for_arm64
Kafka for arm64
2021-01-23 01:52:07 +03:00
alexey-milovidov
7b62871765
Merge pull request #19383 from ClickHouse/h3-fix-buffer-overflow
Fix buffer overflow in Uber H3
2021-01-22 17:14:29 +03:00
Ilya Yatsishin
8f280aa1c6
Merge pull request #19337 from filimonov/kafka_wo_ssl
Allow building librdkafka without ssl
2021-01-22 15:22:30 +03:00
filimonov
2adcde89f8
use __ARM_FEATURE_CRC32 2021-01-22 09:52:59 +01:00
Maksim Kita
e06383e0ae Darwin fixed build issues 2021-01-21 22:32:17 +03:00
Alexey Milovidov
bb56daf026 Fix build 2021-01-21 21:42:26 +03:00
Alexey Milovidov
3d931df276 Fix buffer overflow in Uber H3 library 2021-01-21 21:40:14 +03:00
Mikhail Filimonov
066fbfff0e
librdkafka support for arm64 2021-01-21 16:04:55 +01:00
Mikhail Filimonov
58c57bbb9d
Allow building librdkafka without ssl 2021-01-21 08:43:35 +01:00
Alexander Tokmakov
e2467427d1 Merge branch 'master' into update_cassandra 2021-01-19 14:10:15 +03:00
alexey-milovidov
8a88e213b1
Merge pull request #18671 from filimonov/librdkafka-v1.5.3
Update librdkafka to v1.6.0-RC2
2021-01-19 13:28:53 +03:00
alesapin
33d4154146
Merge pull request #19244 from ClickHouse/disable_msan_for_libuv
Disable msan for epoll array in libuv
2021-01-19 12:45:35 +03:00
Alexander Tokmakov
39cb72d1d4 fix 2021-01-19 01:02:48 +03:00
Mikhail Filimonov
9a4f34959c
Try clickhouse/v1.6.0-RC2 2021-01-18 19:15:57 +01:00
alesapin
c3d7a0cbc4
Merge pull request #19215 from ClickHouse/kerberos-fix-msan
Fix MSan report in Kerberos library
2021-01-18 17:17:51 +03:00
alesapin
f6630ddc4c Disable msan for epoll array in libuv 2021-01-18 16:15:00 +03:00
alexey-milovidov
b282df488f
Merge pull request #19218 from ClickHouse/update-dragonbox
Update Dragonbox
2021-01-18 14:23:33 +03:00
Alexey Milovidov
c02f2d45ad Update Dragonbox 2021-01-17 23:38:59 +03:00
Alexey Milovidov
ce6dc40888 Fix MSan report in Kerberos library 2021-01-17 21:35:53 +03:00
Azat Khuzhin
d61a6379fc Update comment for curl dependency for aws
It is not true since #13628
2021-01-17 18:38:29 +03:00
Azat Khuzhin
32ffa99461 Disable curl for mariadb-connector-c (it is not required) 2021-01-17 18:38:11 +03:00
Alexander Tokmakov
e57e242482 fix 2021-01-16 22:56:07 +03:00
Alexey Milovidov
a19e7edd14 Merge branch 'master' into kssenii-pg2ch 2021-01-15 17:33:19 +03:00
Mikhail Filimonov
83cfc08837
Try fix cmake scripts for librdkafka 1.6.0 2021-01-15 15:11:56 +01:00
Mikhail Filimonov
4361a5e0d6
Give a try for 1.6.0-RC1 2021-01-15 11:07:35 +01:00
Alexander Tokmakov
588d9f0a56 fix 2021-01-15 01:51:55 +03:00
Mikhail Filimonov
04da361f64
Update librdkafka to v1.5.3 2021-01-14 21:53:58 +01:00
Alexander Tokmakov
f2184eea5e try update cassandra driver library 2021-01-14 21:05:08 +03:00
Ilya Yatsishin
8004b0446f
Merge pull request #18924 from snar/enable-kafka-on-freebsd
Restore kafka on freebsd
2021-01-12 19:16:35 +03:00
Alexandre Snarskii
af2fa52436 fix freebsd build 2021-01-11 13:25:09 +03:00
Danila Kutenin
0832da77eb Update libcxx to head 2021-01-11 02:59:49 +00:00
Danila Kutenin
797a4052d8 Update libcxx and use unstable ABI to provide better performance 2021-01-11 02:08:33 +00:00
alexey-milovidov
7d25c1f7f7
Merge pull request #18862 from sundy-li/update-rocksdb
Update contrib from ClickHouse-Extras/rocksdb
2021-01-08 22:54:52 +03:00
sundy-li
0506d4bf47 Update contrib from ClickHouse-Extras/rocksdb 2021-01-08 15:41:15 +08:00
myrrc
0fc2020f2a fix gcc build 2021-01-07 19:38:58 +03:00
alexey-milovidov
72b142a00a
Merge branch 'master' into pg2ch 2021-01-06 23:18:59 +03:00
alexey-milovidov
6430fd3b2a
Merge pull request #18700 from azat/history-load-fix-multiline-entries
Bump replxx to fix loading of multi-line entries from the history
2021-01-06 05:33:51 +03:00
Azat Khuzhin
66ffb2c07a Bump replxx to fix loading of multi-line entries from the history 2021-01-03 22:12:35 +03:00
Alexey Milovidov
7e2a14fd2c Proper submodule update 2021-01-03 21:19:44 +03:00
Alexey Milovidov
21f8ba08fb Update submodule 2021-01-02 00:23:56 +03:00
Alexey Milovidov
886d61c2e0 Fix build 2021-01-02 00:12:43 +03:00
Alexey Milovidov
4c466c2fb5 Remove "harmful" function from mariadbclient 2021-01-01 21:32:22 +03:00
Alexey Milovidov
aa2e89611d Remove sumburConsistentHash function 2020-12-31 02:22:04 +03:00
kssenii
62b06de97e Try fix build 2020-12-30 16:00:05 +00:00
kssenii
d146974058 Update libpq 2020-12-29 20:05:42 +00:00
kssenii
8efd85bef2 Fix build 2020-12-29 16:56:50 +00:00
kssenii
ff6f76e2d1 Fix build, update libpq 2020-12-29 06:41:55 +00:00
kssenii
fa3297bf72 Fix build, update libpq 2020-12-28 19:16:10 +00:00
kssenii
82074bfa65 Update libpq 2020-12-27 14:18:36 +00:00
kssenii
2ab07fbd71 Update libraries 2020-12-27 12:24:14 +00:00
kssenii
2d8e35b4bd Add libpq and libpqxx 2020-12-27 12:02:41 +00:00
alesapin
e81485653b
Merge pull request #18491 from ClickHouse/add_nuraft
Add NuRaft to contrib
2020-12-26 16:19:05 +03:00
alexey-milovidov
00bc167872
Merge pull request #18531 from ClickHouse/update_cctz
Update timezones to 2020e
2020-12-26 09:58:12 +03:00
Nikita Mikhaylov
7b23b866a2
Merge pull request #18475 from nikitamikhaylov/andyyzh-bitmap64A
Merging #17858
2020-12-26 04:31:49 +03:00
alesapin
4b51a401ec Update cctz to 2020e 2020-12-25 23:36:44 +03:00
alesapin
34e298006d Update to master boost 2020-12-25 22:24:26 +03:00
alesapin
8ef23dde57 Better asio 2020-12-25 16:06:54 +03:00
alesapin
b4cac6a8a4 Fix unbundled, splitted and disable freebsd build 2020-12-25 15:36:49 +03:00
alesapin
dc77b06d30 Fix build 2020-12-25 14:04:39 +03:00
alesapin
8d1b6f67b6 Trying asio standalone 2020-12-25 12:28:08 +03:00
alesapin
236d8185e9 Update boost 2020-12-25 11:18:26 +03:00
alesapin
266d388139 Better formatting 2020-12-25 11:06:10 +03:00
alesapin
3c104035b1 Add NuRaft library 2020-12-24 23:10:47 +03:00
alesapin
cf4337ca41 Some intermediate stage 2020-12-24 18:47:38 +03:00
Amos Bird
ccc426cd10 update croaring 2020-12-24 17:43:20 +03:00
Andy Yang
ccb2fcc161 Support bitmap64 feature 2020-12-24 17:43:20 +03:00
alesapin
3e9d177813 Slightly simplier cmake 2020-12-24 16:06:32 +03:00
alesapin
e68bafd508 Merge branch 'master' into simplier_coverage 2020-12-24 12:39:33 +03:00
Azat Khuzhin
763844beac Make poco library path variable scope less global 2020-12-23 23:55:39 +03:00
Azat Khuzhin
92bc52d765 Fix Poco::Crypto library (missing linking with crypto) 2020-12-23 23:13:21 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
alexey-milovidov
568119535a
Merge pull request #18378 from azat/ccache-fix
Do not override RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK in rocksdb
2020-12-23 15:35:25 +03:00
alesapin
b6ff4713ee Build contrib in release 2020-12-23 15:31:18 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
Async read from socket
2020-12-23 12:20:42 +03:00
nikitamikhaylov
0dafcc38a5 better 2020-12-23 01:02:45 +03:00
Azat Khuzhin
e49021630e Do not override RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK in rocksdb
- it is already done in in find/ccache.cmake
- it does not respect disabling ccache
- it does not allow to override ccache using custom location (not in
  PATH)
2020-12-22 22:22:33 +03:00
Azat Khuzhin
5fc2c2169a Drop libnsl dependency (because of gRPC -> c-ares)
c-ares searching for gethostbyname in the libnsl library, however in the
version that shipped with gRPC it doing it wrong [1], since it uses
CHECK_LIBRARY_EXISTS(), which will return TRUE even if the function exists in
another dependent library. The upstream already contains correct macro [2],
but it is not included in gRPC (even upstream gRPC, not the one that is
shipped with clickhousee).

  [1]: e982924ace/CMakeLists.txt (L125)
  [2]: 44fbc81368/CMakeLists.txt (L146)

And because if you by some reason have libnsl [3] installed, clickhouse will
reject to start w/o it. While this is completelly different library.

  [3]: https://packages.debian.org/bullseye/libnsl2
2020-12-22 22:07:07 +03:00
alexey-milovidov
a4b0d9ba4c
Merge pull request #16664 from FawnD2/switch-upstream-for-arrow-submodule
Switch upstream repo for Arrow submodule
2020-12-22 10:55:23 +03:00
Alexey Milovidov
bf2df558d4 Merge branch 'master' into FawnD2-switch-upstream-for-arrow-submodule 2020-12-20 09:38:46 +03:00
Azat Khuzhin
e379b80d45 MADV_DONTNEED check in runtime for qemu (via patching jemalloc)
qemu does not support MADV_DONTNEED, and by not support it simply ignore
it (i.e. return 0 -- no error).

This issue has been "fixed" in #15590, however it just
terminates the process, and completely breaks clickhouse under qemu
(see also #15174).

But there is no need in such strong protection, we can stop using
madvise in jemalloc if MADV_DONTNEED does not work properly.
And this is what #18169 was tried to do (by override madvise), however
this will break sanitizers, at least TSAN and UBSAN.
The problem there is that sanitizers initialization code uses madvise
(and there is no way to turn this off with TSAN_OPTIONS) and overwritten
madvise function will have sanitizers traits (__tsan_func_entry), while
TSAN is not ready for this, and eventually it SIGSEGV.
Interesting thing is that in the recent clang-12, madvise was replaced
with direct syscall [1].

  [1]: 9f8c4039f2

But it is better to make clickhouse compatible with clang < 12 too, so
instead of override madvise completely, the runtime check was moved into
the jemalloc code [2].

  [2]: https://github.com/ClickHouse-Extras/jemalloc/pull/1
2020-12-19 15:34:12 +03:00
alexey-milovidov
41b2503d1a
Merge pull request #18114 from azat/20.13-gcc10-sanitizers
gcc10 sanitizers support
2020-12-19 12:54:36 +03:00
alexey-milovidov
7ec772f480
Merge pull request #18129 from ClickHouse/boringssl2
Port to BoringSSL (part 2)
2020-12-18 18:00:10 +03:00
alexey-milovidov
c343fa1ae4
Merge pull request #18202 from ClickHouse/update-libc-headers-2
Update libc headers
2020-12-18 08:03:11 +03:00
Alexey Milovidov
1be41beca0 Merge branch 'master' into boringssl2 2020-12-18 05:59:30 +03:00
alesapin
799997db35
Merge pull request #16621 from arenadata/ADQM-148
HDFS configuration and Kerberos Authenticaiton
2020-12-17 23:16:58 +03:00
Alexey Milovidov
3060743b9f Merge branch 'master' into boringssl2 2020-12-17 22:09:30 +03:00
Alexey Milovidov
4a1618d0b8 Update libc headers 2020-12-17 20:25:51 +03:00
Nikolai Kochetov
53d5012a20 Update boost. 2020-12-17 10:32:51 +03:00
Nikolai Kochetov
10449695bc Update boost. 2020-12-17 10:32:11 +03:00
Nikolai Kochetov
c91c5d0a68 Update boost. 2020-12-17 10:29:47 +03:00
Alexey Milovidov
8d9c5f0fc9 Fix splitted build 2020-12-17 01:59:58 +03:00
Alexey Milovidov
f09921b31a Update BoringSSL; add missing mode 2020-12-17 01:18:50 +03:00
Azat Khuzhin
a95d864a3f Bump libcxx to fix extern "C" at the middle of the line in gcc10 2020-12-16 21:31:03 +03:00
Nikolai Kochetov
a85d6e2fbc Try use tsan annotated boost fibre. 2020-12-16 19:52:29 +03:00
Nikolai Kochetov
a6b4dabab6 Use ucontext for tsan. 2020-12-16 19:51:58 +03:00
Alexey Milovidov
9f92844b93 Port Kerberos to BoringSSL 2020-12-16 19:30:23 +03:00
Alexey Milovidov
5c7e35508b Better dependencies in CMake 2020-12-16 19:30:23 +03:00