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
alesapin
eb5c77f558
Fix some races and better reaction to leader change
2021-02-01 14:27:26 +03:00
alesapin
67412bd529
Don't accept connections if we don't see leader + race fix from upstream
2021-02-01 10:51:10 +03:00
alexey-milovidov
7567bb2e31
Merge pull request #19860 from ClickHouse/hyperscan-assert
...
Fix debug assertion in Hyperscan
2021-02-01 03:45:08 +03:00
Alexey Milovidov
e5736c4c8d
Fix debug assertion in Hyperscan
2021-01-31 07:23:07 +03:00
alesapin
6781c9f61d
One more fix
2021-01-29 15:34:53 +03:00
alesapin
b602f259f5
Fix race in NuRaft
2021-01-29 15:24:52 +03:00
alesapin
c3db529543
Merge branch 'master' into in_memory_raft
2021-01-28 12:01:54 +03:00
Alexey Milovidov
d42afe703c
Merge branch 'master' into unicode-asan
2021-01-28 10:45:46 +03:00
alexey-milovidov
7c240d0ca7
Merge pull request #17870 from excitoon-favorites/s3testiostream
...
Update of AWS C++ SDK
2021-01-28 07:12:52 +03:00
Alexey Milovidov
71d3482cea
Fix potentially unsafe code in Poco
2021-01-28 03:43:42 +03:00
alesapin
dd54e5afe8
Merge branch 'master' into in_memory_raft
2021-01-27 15:32:16 +03:00
Vladimir Chebotarev
3322cc812d
Updated AWS C++ SDK.
2021-01-26 20:58:02 +03:00
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
Alexey Milovidov
c8eaecf302
Enable AES-CFB mode
2020-12-16 19:30:23 +03:00
Alexey Milovidov
4385d3a89d
Remove dependency on too new glibc
2020-12-16 19:30:23 +03:00
Alexey Milovidov
8a3ef80ee0
Remove OpenSSL
2020-12-16 19:30:23 +03:00
Alexey Milovidov
f289ef24e2
Remove OpenSSL
2020-12-16 19:30:23 +03:00
Alexey Milovidov
dabde573df
Adjust CMake
2020-12-16 19:30:23 +03:00
Alexey Milovidov
25bc545b20
Enable BoringSSL
2020-12-16 19:30:23 +03:00
Alexey Milovidov
5345ffb233
Edit the file
2020-12-16 19:30:23 +03:00
Alexey Milovidov
bbc0c3eb1f
Add BoringSSL, generate CMakeFiles
2020-12-16 19:30:23 +03:00
Ilya Golshtein
fc0a1af214
doc minor changes, cleanup, krb5-user as a recommended package
2020-12-16 14:48:33 +03:00
Ilya Golshtein
7e97814859
cleanup, fixes, new submodules, ShellCommand, WriteBufferFromString
2020-12-16 14:48:33 +03:00
Ilya Golshtein
185ac744b1
kerberized hdfs compiled
2020-12-16 14:48:33 +03:00
Alexey Milovidov
e3b490e9b3
Port Kerberos to BoringSSL
2020-12-16 09:37:28 +03:00
Nikolai Kochetov
4905201985
Merge branch 'master' into async-read-from-socket
2020-12-15 21:04:47 +03:00
Nikolai Kochetov
01286a6a09
Update libunwind.
2020-12-15 19:18:28 +03:00
Nikolai Kochetov
8de5cd5bc7
Merge branch 'master' into async-read-from-socket
2020-12-14 17:45:38 +03:00
Nikolai Kochetov
75ac87c241
Fixing build.
2020-12-14 17:42:12 +03:00
Nikolai Kochetov
e295dfe6e3
Use ucontext for asan
2020-12-14 17:42:08 +03:00
Nikolai Kochetov
116bed2cfd
Fixing build.
2020-12-14 17:42:00 +03:00
Azat Khuzhin
3b431b054e
Bump librdkafka to fix UB in snappy decompression.
...
In incremental_copy_fast_path there is undefined behavior (and in some
other places too).
And under this circumstances gcc10 with -O1 -ftree-loop-vectorize (or
simply -O3), due to loop unroll, generates code that do copy by 16 bytes
at a time for the second loop (MOVDQU+MOVUPS), while this is not correct
since the memory may be overlapped and may be changed in the previous
iteration.
Updated version includes [1], that fixes those UB, by using memcpy over
direct store/load since these days direct store/loads looks redundant.
Even on ARM.
[1]: https://github.com/ClickHouse-Extras/librdkafka/pull/3
NOTE: clang is fine, and other older versions of gcc too
2020-12-14 00:38:07 +03:00
Nikolai Kochetov
ca20058cdc
Update libunwind.
2020-12-12 14:10:27 +03:00
alexey-milovidov
932493f12e
Merge pull request #17982 from azat/build
...
Tiny build changes
2020-12-12 02:37:14 +03:00
Amos Bird
88341fec82
client SIGWINCH fix
2020-12-12 00:34:40 +08:00
Azat Khuzhin
5cc35d4d38
build: switch llvm to -std=gnu++17
2020-12-11 01:32:38 +03:00
Azat Khuzhin
8e035a7518
build: pass the c++ standard for compiling llvm
...
Yes clickhosue set gnu++2a globally, but this will not work, since
default -std=c++11 will be added later, look:
clang++ -std=gnu++2a ... -std=c++11 -Wall -Wextra contrib/llvm/...
2020-12-11 01:32:38 +03:00
alexey-milovidov
7f35db47c5
Merge pull request #17869 from nikitamikhaylov/dragonbox-cmake
...
Add dragonbox-cmake
2020-12-10 22:42:05 +03:00
Alexander Kuzmenkov
678b8f0efb
Merge pull request #17905 from ClickHouse/aku/poco-log-rotation
...
Fix integer overflow in max log size calculation
2020-12-10 18:49:08 +03:00
Nikita Mikhaylov
34375ae26e
Merge branch 'master' into dragonbox-cmake
2020-12-10 02:26:01 +03:00
Nikolai Kochetov
32b38f389e
Merge branch 'master' into async-read-from-socket
2020-12-09 17:15:36 +03:00
Nikolai Kochetov
faa5b71efc
Update boost submodule
2020-12-09 17:11:20 +03:00
Nikolai Kochetov
a1d4d92b54
Use poco from master. Fixing tests.
2020-12-09 17:12:42 +03:00
Nikolai Kochetov
e8667bad45
Fix build and tests.
2020-12-09 17:12:27 +03:00
alexey-milovidov
e127636a4b
Merge pull request #16787 from kitaisreal/fast-float-integration
...
FastFloat library integration
2020-12-08 21:34:34 +03:00
Alexander Kuzmenkov
cb1a71fd3f
fixup
2020-12-08 20:29:17 +03:00
Alexander Kuzmenkov
52995b4d33
Fix integer overflow in max log size calculation.
...
If the `<size>` was more than 4G, the logs were not rotated properly.
Also log errors that occur during rotation of logs.
CLICKHOUSE-4975
2020-12-08 19:42:03 +03:00
alexey-milovidov
ab10cb4bf9
Merge pull request #17707 from ClickHouse/quota-by-x-forwarded-for
...
Allow quotas to be keyed by proxy-forwarded IP address; add support for PROXY protocol
2020-12-08 14:48:05 +03:00
Nikita Mikhaylov
1a01dbaa00
Merge pull request #17643 from nikitamikhaylov/rocksdb-patch
...
Switch RocksDB to patched version
2020-12-08 00:01:46 +03:00
Alexey Milovidov
0f437c86d3
Fix clang-tidy warning
2020-12-07 23:38:33 +03:00
nikitamikhaylov
ecb424a773
better
2020-12-07 21:26:02 +03:00
Alexey Milovidov
44d1259148
Fix clang-tidy warning
2020-12-07 19:21:29 +03:00
Nikolai Kochetov
65f9fda328
Update Poco
2020-12-07 17:23:01 +03:00
nikitamikhaylov
b10db16d3b
done
2020-12-07 16:23:10 +03:00
nikitamikhaylov
19a2c59610
last update
2020-12-07 15:48:58 +03:00
Maksim Kita
c3864d2fbf
Updated contrib CMakeLists
2020-12-07 14:08:19 +03:00
Maksim Kita
5b57c59a3b
Updated fast_float integration
2020-12-06 23:37:55 +03:00
Maksim Kita
42f2243fd4
Updated submodule
2020-12-06 23:37:36 +03:00
Maksim Kita
80d66b8868
FastFloat library integration
2020-12-06 23:37:35 +03:00
Maksim Kita
6a7ffbec1d
Fixed contrib CMakeLists.txt
2020-12-06 15:41:18 +03:00
Maksim Kita
977da3d052
Removed ryu
2020-12-06 15:39:39 +03:00
Maksim Kita
074d0ee6ae
Updated dragonbox commit
2020-12-06 00:49:32 +03:00
Maksim Kita
64549702a2
DragonBox integration
2020-12-06 00:32:03 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
nikitamikhaylov
326c79d42d
better
2020-12-01 19:32:21 +03:00
nikitamikhaylov
65f33e6c45
diff
2020-12-01 19:30:55 +03:00
nikitamikhaylov
43614d2b86
better cmake
2020-12-01 19:30:55 +03:00
nikitamikhaylov
0c35422b3f
switch to master
2020-12-01 19:30:54 +03:00
Nikolai Kochetov
319d36a3b7
Update CMakeLists.txt
2020-11-30 19:11:56 +03:00
Nikolai Kochetov
0e04320259
Update CMakeLists.txt
2020-11-30 19:10:18 +03:00
Nikolai Kochetov
4f442cd8f3
Update CMakeLists.txt for boost
2020-11-30 18:32:01 +03:00
Nikolai Kochetov
0f293e60e1
Update CMakeLists.txt for boost
2020-11-30 18:22:34 +03:00
Nikolai Kochetov
fa9814921c
Updae boost.
2020-11-30 17:57:31 +03:00
Nikolai Kochetov
ad9a0c6144
Update poco
2020-11-30 15:43:37 +03:00
alexey-milovidov
d69d323b5f
Merge pull request #17547 from ClickHouse/boringssl-ldap
...
Update OpenLDAP for BoringSSL
2020-11-30 09:37:41 +03:00
alexey-milovidov
02825541ed
Merge pull request #17546 from ClickHouse/boringssl-mariadb
...
Update MariaDB for BoringSSL
2020-11-30 09:37:21 +03:00
alexey-milovidov
8bf9855740
Merge pull request #17544 from ClickHouse/boringssl-cassandra
...
Update Cassandra for BoringSSL
2020-11-30 09:37:01 +03:00
alexey-milovidov
c041a3ad7d
Merge pull request #17545 from ClickHouse/boringssl-rdkafka
...
Update Kafka for BoringSSL
2020-11-30 09:36:39 +03:00
alexey-milovidov
80e996d37f
Merge pull request #17548 from ClickHouse/boringssl-amqp
...
Update AMQP for BoringSSL
2020-11-30 09:36:03 +03:00
FawnD2
26488467f8
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-29 15:53:28 +03:00
Alexey Milovidov
a96d9104d9
Update AMQP for BoringSSL
2020-11-29 11:53:15 +03:00
Alexey Milovidov
4d4aa93165
Update OpenLDAP for BoringSSL
2020-11-29 11:51:32 +03:00
Alexey Milovidov
6f660f4903
Update MariaDB for BoringSSL
2020-11-29 11:49:46 +03:00
Alexey Milovidov
1f4087b8d0
Update Kafka for BoringSSL
2020-11-29 11:48:43 +03:00
Alexey Milovidov
c679d8b357
Update Cassandra for BoringSSL
2020-11-29 11:42:17 +03:00
Alexey Milovidov
27063ad160
Update Poco: Fix thread counter leak
2020-11-29 11:10:39 +03:00
Azat Khuzhin
c89b263a87
Drop include of the removed libbtrie in cmake rules
...
Refs: #16804
2020-11-26 21:38:31 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie
2020-11-25 23:07:19 +03:00
alesapin
77efcbcdbc
Merge pull request #17271 from azat/libunwind-cmake-3.19-build-fix
...
Fix libunwind build for cmake 3.19+
2020-11-25 17:09:40 +03:00
Vitaly Baranov
a32ed23198
Fork abseil-cpp to remove dependency on errno@GLIBC_PRIVATE, __pthread_unwind@GLIBC_PRIVATE and to fix shared build.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
8d96a11d8d
Update grpc build scripts.
2020-11-24 17:53:34 +03:00
Vitaly Baranov
5dde87fdcc
Update contrib/grpc & contrib/protobuf.
2020-11-24 17:53:34 +03:00
Azat Khuzhin
83f27c8d4f
Fix libunwind build for cmake 3.19+
2020-11-22 12:19:17 +03:00
vdimir
e2fac19686
Remove libbtrie
2020-11-21 21:31:15 +03:00
Mikhail Filimonov
e7266625e8
Update cctz to the latest master, update tzdb to 2020d.
2020-11-19 14:52:44 +01:00
Nikita Mikhaylov
0d78002a22
Merge pull request #17179 from sundy-li/update-rocksdb-version
...
bump up rocksdb version to v6.14.5
2020-11-19 15:32:46 +03:00
sundy-li
ddd62edf53
add submodule commits
2020-11-18 20:12:18 +08:00
sundy-li
c2ff8a421c
bump up rocksdb version to v6.14.5
2020-11-18 19:57:28 +08:00
Alexey Milovidov
2872f90a83
Fix the case when CFA register is RAX
2020-11-15 18:32:41 +03:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb
2020-11-12 08:26:27 +08:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
...
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
sundy-li
5a38e80b00
disable JeMalloc in rocksdb contrib
2020-11-11 22:53:42 +08:00
a.palagashvili
55d05c95bf
fixed style, xz check fasttest skipped, removed fast-lzma2
2020-11-11 15:34:28 +03:00
sundy-li
ed93ec673f
add zstd include directory for rocksdb
2020-11-11 19:41:54 +08:00
sundy-li
579f4c50ed
improve rocksdb-cmake build
2020-11-11 17:39:23 +08:00
a.palagashvili
124ef2f5fa
added and successfully passed tests for content encoding and file() function, formatted code
2020-11-11 04:50:56 +03:00
sundy-li
c56d1212a2
rocksdb-cmake && fix iteration bug && improve tests
2020-11-11 09:39:09 +08:00
sundy-li
ad78e0b3f5
trigger
2020-11-11 09:08:52 +08:00
sundy-li
1270ede0c0
USE PORTABLE to avoid Illegal instruction, add SANITIZE for rocksdb cmake build
...
options
2020-11-11 09:08:52 +08:00
sundy-li
03ad32a3fa
disable WITH_GFLAGS
2020-11-11 09:08:52 +08:00
root
e9de5b6ad4
Add StorageEmbeddedRocksdb Engine
2020-11-11 09:08:52 +08:00
Alexey Milovidov
0cca51f4aa
Check for wrong DWARF expressions for CFA
2020-11-11 02:44:09 +03:00
a.palagashvili
f999ea2a6f
renamed files, added new library, changed error codes, added tests for file() function
2020-11-10 01:52:22 +03:00
Danila Kutenin
d0840bfc5d
Move miniselect to submodule and replace quantile exact with better algorithm
2020-11-10 00:53:43 +03:00
Danila Kutenin
3c6794bf37
Add Floyd-Rivest selection algorithm instead of std::partial_sort
2020-11-09 20:22:05 +03:00
FawnD2
43799204f9
Remove misleading comment
2020-11-08 05:16:41 +03:00
FawnD2
6a89d965fd
Merge branch 'master' into switch-upstream-for-arrow-submodule
2020-11-07 22:34:55 +03:00
FawnD2
65e4fa555b
Remove build branch with internal parquet native cmake
2020-11-07 19:49:36 +03:00
FawnD2
bd1daf93fa
Set correct sha for submodule
2020-11-07 17:32:45 +03:00
FawnD2
6cf4d58ce1
Fix parquet reader in submodule
2020-11-07 17:27:25 +03:00
a.palagashvili
268f289bd1
resolved conflict
2020-11-07 16:36:38 +03:00
FawnD2
9be0340d98
Regenerate parquet config
2020-11-07 16:25:48 +03:00
FawnD2
8fd417f9a3
Fix build
2020-11-07 16:25:38 +03:00
FawnD2
066a3032e1
Move arrow config from SOURCE_DIR to BINARY_DIR
2020-11-07 16:25:30 +03:00
FawnD2
4598046176
Update cmake
2020-11-07 16:24:50 +03:00
alexey-milovidov
010f0cb33d
Merge pull request #16764 from ClickHouse/3rdparty-no-ubsan
...
Do not instrument 3rd-party libraries with UBSan
2020-11-07 13:39:50 +03:00
Alexey Milovidov
8ec6653fb1
Fix UBSan report in Poco
2020-11-06 20:56:21 +03:00
Alexey Milovidov
584f1a83be
Do not instrument 3rd-party libraries with UBSan
2020-11-06 20:52:28 +03:00
FawnD2
069e3dec0d
Do not use deprecated API
2020-11-05 20:10:11 +03:00
FawnD2
4f82e95a46
Update submodule to the latest release
2020-11-05 19:49:11 +03:00
Anton Ivashkin
6f96cd04cc
Update aws submodule, use version with patch for non-empty http path in urls
2020-11-05 15:53:40 +03:00
FawnD2
b0277e99a5
Update sources list
2020-11-04 19:51:43 +03:00
FawnD2
19f81e0f82
Update submodule sha
2020-11-04 15:51:10 +03:00
a.palagashvili
ba6fa5d828
fixed whitespaces, added hidden submodule file
2020-11-02 23:04:49 +03:00
a.palagashvili
805bfd286c
resolved git modules
2020-11-02 15:16:49 +03:00
a.palagashvili
be2b002ff4
fixed cmake for building, added test for compression method, added basic code for encoding
2020-11-01 21:40:05 +03:00
a.palagashvili
c1abf5d13c
*added adapters' boilerplate for Lzma buffers, *added submodule to gitmodules, *added cmake for xz
2020-11-01 02:56:41 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
...
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
Alexey Milovidov
eee81eef43
Remove dependency on "services" database
2020-10-28 01:58:53 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
sundy-li
f407504a7a
try use cmake version for croaring instead of amalgamation.sh
2020-10-23 19:42:21 +08:00
Azat Khuzhin
f211d33841
Avoid creating separate replxx instance
...
This replxx object is pretty heavy and in debug build may slow down [1]
(although I cannot confirm 0.5s delay for each query in debug build) the
client and besides it is not required since ClickHouse-Extras/replxx#10 ,
which changes the behaviour of history_save(), and now it will not
update current session anymore, only save the history to the disk.
[1]: https://github.com/ClickHouse/ClickHouse/pull/13086#issuecomment-667719026
2020-10-12 23:56:29 +03:00
alexey-milovidov
557002262f
Merge pull request #15828 from azat/unbundled-INTERFACE_COMPILE_DEFINITIONS
...
Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
2020-10-11 19:28:18 +03:00
alexey-milovidov
2be4995a4e
Merge pull request #15815 from amosbird/h1
...
Fix undefined behavior in libhdfs3
2020-10-11 13:13:04 +03:00
Azat Khuzhin
c160b251ba
Drop support for unbundled jemalloc
...
unbundled jemalloc cannot be used, since it includes jemalloc_cpp.o that
contains new/delete overrides, so as clickhouse [1]:
ld.lld: error: duplicate symbol: operator delete(void*, unsigned long)
>>> defined at new_delete.cpp:147 (../src/Common/new_delete.cpp:147)
>>> new_delete.cpp.o:(operator delete(void*, unsigned long)) in archive src/libclickhouse_new_delete.a
>>> defined at jemalloc_cpp.o:(.text+0x160) in archive /usr/lib/x86_64-linux-gnu/libjemalloc.a
[1]: https://clickhouse-builds.s3.yandex.net/15828/35335f07dbf8cab89b4188a674b033c28409dc7b/clickhouse_build_check/build_log_793952627_1602401325.txt
2020-10-11 11:18:56 +03:00
Azat Khuzhin
35335f07db
Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
...
INTERFACE_COMPILE_DEFINITIONS does not work IMPORTED targets:
From 3.6:
Specify compile definitions to use when compiling a given <target>.
The named <target> must have been created by a command such as
add_executable() or add_library() and must not be an Imported Target.
Since 3.11:
Specify compile definitions to use when compiling a given <target>.
The named <target> must have been created by a command such as
add_executable() or add_library() and must not be an ALIAS target.
And this causes the -Wundef warning:
src/Functions/FunctionsHashing.h:1326:5: warning: 'USE_XXHASH' is not defined, evaluates to 0 [-Wundef]
2020-10-11 09:06:01 +03:00
alexey-milovidov
c2069ad3ee
Merge pull request #15035 from azat/jemalloc-percpu-arena-fix
...
Update jemalloc to fix percpu_arena with affinity mask
2020-10-10 23:19:56 +03:00
Amos Bird
d13cb2a48b
Fix undefined behavior in libhdfs3
2020-10-11 01:36:00 +08:00
alesapin
efaa7ad1d2
Update openssl
2020-10-09 12:31:01 +03:00
alesapin
4fbe925490
Merge pull request #15686 from ClickHouse/fix_race_mariadb
...
Fix race in mariadb
2020-10-08 09:42:41 +03:00
alesapin
d093d4c535
Merge pull request #15675 from ClickHouse/fix_races_in_hdfs
...
Fix races in libhdfs
2020-10-07 20:39:40 +03:00
alesapin
e00583cf2b
Build with gcc-9
2020-10-07 11:27:29 +03:00
alesapin
8dbae0966b
Apply strange fix for g++
2020-10-07 10:51:57 +03:00
alesapin
d08909cc24
Update mariadb
2020-10-06 19:28:32 +03:00
alesapin
00f29e400f
Fix race condition in hdfs
2020-10-06 16:29:08 +03:00
alesapin
585ca87001
Fix cmake
2020-10-06 14:26:27 +03:00
alesapin
c008555bc5
Trying to fix race in AMQP-CPP
2020-10-06 14:00:52 +03:00
Vitaly Baranov
dd634aa731
Merge pull request #15491 from vitlibar/update-grpc
...
Update gRPC to the latest version
2020-10-02 15:54:35 +03:00
alesapin
c5df9433f0
Merge pull request #15239 from ClickHouse/100_percent_lld_11_for_clang_11
...
Build ClickHouse for release with clang-11
2020-10-02 14:59:29 +03:00
Vitaly Baranov
65a1684ed7
Fix gRPC build scripts.
2020-10-02 01:45:01 +03:00
Amos Bird
7c9bbe4c29
Neutrialize thinlto's memcpy libcall gen.
...
(cherry picked from commit 8ffa4d395c
)
2020-10-01 22:22:32 +03:00
alesapin
38e50d1078
Revert "enable FastMemcpy properly"
...
This reverts commit 6e23901227
.
2020-10-01 10:38:06 +03:00
Vitaly Baranov
8a3b024a6d
Fix using external protobuf library for the build.
2020-10-01 06:28:54 +03:00
Azat Khuzhin
7f776a4344
Update jemalloc to inculde fix for percpu_arena
...
This fix is the same as from [1], but backported to 5.2.1.
[1]: https://github.com/jemalloc/jemalloc/pull/1939
2020-10-01 01:58:57 +03:00
Vitaly Baranov
c7e8021a70
Update gRPC to the latest revision.
2020-10-01 01:34:33 +03:00
Amos Bird
6e23901227
enable FastMemcpy properly
2020-09-30 18:52:49 +03:00
tavplubix
a4b4895b26
Merge pull request #15435 from ClickHouse/ADQM-160-fix
...
Try merge #14265 again
2020-09-30 11:21:55 +03:00
Alexey Milovidov
218a947e05
Suppress clang-tidy diagnostics
2020-09-30 01:20:53 +03:00
Alexander Tokmakov
a7d3a024c7
Revert "Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka""
...
This reverts commit c298c633a7
.
2020-09-29 11:56:37 +03:00
Vitaly Baranov
c8dac53836
Merge pull request #15207 from vitlibar/update-protobuf
...
Update protobuf to latest revision
2020-09-24 16:19:08 +03:00
tavplubix
c298c633a7
Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka"
2020-09-24 16:10:24 +03:00
Vitaly Baranov
ba3257de22
Disable warnings in protobuf's headers.
2020-09-23 23:20:59 +03:00
Vitaly Baranov
b2d66770ee
Update protobuf to the latest version.
2020-09-23 23:20:23 +03:00
Ilya Yatsishin
7dad84ea6b
Merge pull request #14265 from arenadata/ADQM-160
...
Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka
2020-09-23 19:02:58 +03:00
Azat Khuzhin
0275202167
Update jemalloc to include patch for percpu arena
...
Refs: https://github.com/jemalloc/jemalloc/pull/1676
2020-09-17 21:31:39 +03:00
Ilya Golshtein
66a055ddde
switched to cyrus-sasl-2.1 release branch
2020-09-17 16:51:34 +03:00
alesapin
c34eaf5de3
Update ci_config and llvm
2020-09-09 10:08:38 +03:00
Alexey Milovidov
4b3220f79a
Prepare for clang 11
2020-09-04 03:39:56 +03:00
alexey-milovidov
d7983f0c2a
Merge pull request #14256 from dmthuc/fix_build_for_AppleClang
...
Fix build for AppleClang
2020-09-03 01:38:25 +03:00
Dao Minh Thuc
d646ca1d0c
Disable -fchar8_t for capnproto only
2020-09-01 23:07:26 +07:00
Dao Minh Thuc
e22ee38a35
Fix build for AppleClang
2020-08-30 22:48:43 +07:00
Alexey Milovidov
00419722c2
Minor modification
2020-08-29 22:22:59 +03:00
alesapin
14229a27e9
Update CMakeLists.txt
2020-08-28 16:40:22 +03:00
filimonov
6d2c9fa70c
Fix a build for old some OS with old find
...
Actually there are no symlinks there, so `-type f` is enough
2020-08-28 12:00:51 +02:00
alexey-milovidov
d3a9389465
Merge branch 'master' into bharatnc-ncb/timezones-table
2020-08-26 04:26:37 +03:00
alexey-milovidov
f904664742
Merge pull request #14063 from azat/bump-zlib-ng-gcc10
...
Bump zlib-ng (to fix gcc10 build)
2020-08-26 03:40:53 +03:00
Alexey Milovidov
7799cc37ca
Fix build
2020-08-26 02:19:50 +03:00
Alexey Milovidov
63feb75306
Some tweaks
2020-08-25 23:49:22 +03:00
Azat Khuzhin
9971cf2eff
Bump zlib-ng (to fix gcc10 build)
...
[1] is required for gcc10 build, due to incorrect `static_ltree` declaration:
ld.lld: error: duplicate symbol: static_ltree
>>> defined at trees.h:6 (../contrib/zlib-ng/trees.h:6)
>>> trees.c.o:(static_ltree) in archive contrib/zlib-ng/libzlib.a
>>> defined at deflate_quick.c:168 (../contrib/zlib-ng/arch/x86/deflate_quick.c:168)
>>> deflate_quick.c.o:(.rodata+0x0) in archive contrib/zlib-ng/libzlib.a
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
[1]: https://github.com/ClickHouse-Extras/zlib-ng/pull/2
2020-08-25 22:31:19 +03:00
Konstantin Podshumok
e296997b6c
cmake: fix potential curl linking problems
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +03:00
Konstantin Podshumok
68a921cdea
cmake: use bundled rdkafaka for in unbundled tests for now
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5097793872
cmake: Fix odbc in unbudled
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
8479da3033
cmake: unbundled protobuf: don't expect old c++ API by default
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
5d13c1f03f
cmake: unbundled: libxml2 requires liblzma when building static
...
Squashed:
- fixup hdfs3-libxml2
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:43 +03:00
Konstantin Podshumok
cc6a59d59b
cmake: disable internal ORC when using external Parquet
...
Squashed:
- fix internal poco linking with `zlib`
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:42 +03:00
Konstantin Podshumok
9af119ea35
cmake: USE_INTERNAL_REPLXX_LIBRARY is ON by default now
...
As we don't now any system that ships it as a package
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:41 +03:00
Konstantin Podshumok
18fd3e7357
cmake: ARM: make sure cpuid is not enabled by default
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
0ad4b5dea6
cmake: disable jemalloc on alternative arches and with sanitizers
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
3ec7a4bc53
cmake: make sure ENABLE_GRPC is off by default when PROTOBUF is OFF by default
...
Squashed:
- cmake: make sure protobuf compiler and snappy are there for unbundled build
- cmake: Turn ON internal GRPC library by default until relevant features will be implemented
- cmake: allow unbundled grpc
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:39 +03:00
Konstantin Podshumok
1913522233
cmake: always use internal poco library as it went too far from upstream
...
Squashed:
- cmake: move USE_INTERNAL_POCO_LIBRARY option to separate file
- point contrib/poco to "add <atomic> to TCPServerDispatcher"
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
Konstantin Podshumok
87a2ae1820
cmake: contrib/curl-cmake: use FAIL_ON_UNSUPPORTED_OPTIONS_COMBINATION
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:38 +03:00
Konstantin Podshumok
d456aa86ef
Revert "Revert "cmake: Add option to fail configuration instead of auto-reconfiguration""
...
This reverts commit 89419ceb9b
(curl part moved to separate commit)
Squashed:
- termcap removed
- fix for cassandra on apple merged
- cmake: fix "Can't find system zlib library" in unbundled build
- cmake: fix condition when testing for rdkafka platform
- cmake: PROTOBUF_OLD_ABI_COMPAT shouldn't be enabled for internal protobuf
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:37 +03:00
bharatnc
2ef2d0976b
spacing, new line at end in .sql and .reference files
2020-08-24 23:30:58 +03:00
bharatnc
d85dba2209
fix more spacing
2020-08-24 23:30:58 +03:00
bharatnc
7a07f13d1a
fix vertical spacing
2020-08-24 23:30:58 +03:00
Alexey Milovidov
b504b9a917
Fix conflict + minor modification.
2020-08-24 23:29:56 +03:00
alexey-milovidov
7ea5364299
Merge pull request #13648 from filimonov/tzdata_version2
...
tzdata improvements
2020-08-24 23:07:37 +03:00
alexey-milovidov
fb0e68f808
Merge pull request #12771 from arenadata/ADQM-109
...
krb5 + cyrus-sasl + kerberized kafka
2020-08-20 20:13:01 +03:00
Mikhail Filimonov
4eff1a75de
one more attempt
...
objcopy creates symbols from source filenames (can't be ajusted), so just make temp files with needed names
2020-08-14 01:10:21 +02:00
Mikhail Filimonov
fe55ef6b2c
Trying to fix TZ with plus sign inside
2020-08-13 23:28:56 +02:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration"
2020-08-13 23:10:06 +03:00
Mikhail Filimonov
a0ae1b2b42
tzdata improvements
...
Expose version of embedded tzdata via TZDATA_VERSION in system.build_options.
Autogenerate list of shipped timezones. Script to check tzdb updates.
2020-08-12 14:21:40 +02:00
Vladimir Chebotarev
11c85065ef
Update CMakeLists.txt
2020-08-12 02:05:20 +03:00
Vladimir Chebotarev
fb527e8677
Update CMakeLists.txt
2020-08-12 02:03:53 +03:00
Vladimir Chebotarev
2bcc850533
Update CMakeLists.txt
2020-08-12 02:00:21 +03:00
alexey-milovidov
6afbcfe914
Merge pull request #13528 from ClickHouse/clickhouse-install
...
Simple clickhouse install script
2020-08-11 18:08:22 +03:00
Alexey Milovidov
c7a6a18a75
Preparation to enable clickhouse install on Mac and FreeBSD
2020-08-10 02:58:09 +03:00
Konstantin Podshumok
262080132b
cmake: disabling silent reconfigurations in contrib/*/CMakeLists.txt
...
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Alexey Milovidov
8d616444e4
Support for AArch64
2020-08-09 02:54:38 +03:00
Alexey Milovidov
0f79eb3cc5
Embed configs into binary
2020-08-08 06:42:42 +03:00
Alexey Milovidov
070b43fa35
Update submodule
2020-08-06 04:06:48 +03:00
Alexey Milovidov
4abf9cb6b9
Remove useless submodules from GRPC
2020-08-05 19:44:24 +03:00
Alexey Milovidov
88e772bec3
Update submodules
2020-08-05 17:53:20 +03:00
Alexey Milovidov
4348d6746c
Remove submodules
2020-08-05 17:32:23 +03:00
Alexey Milovidov
bf7ae9ef4e
Remove recursive submodules from Sentry
2020-08-05 13:48:34 +03:00
Alexey Milovidov
7f18ff16aa
Simplify CMake for libunwind (suggestion from @azat)
2020-08-02 17:05:33 +03:00
Alexey Milovidov
14174ba38f
Fix warning in libunwind
2020-08-02 06:11:40 +03:00
Alexey Milovidov
f633c59737
Fix warning in libunwind
2020-08-02 06:09:10 +03:00
alexey-milovidov
120092e486
Merge pull request #13208 from ClickHouse/libunwind-register
...
Allow "register" variables in libunwind
2020-08-02 01:45:06 +03:00
alexey-milovidov
566044f9c8
Merge pull request #12991 from ClickHouse/kafka-fix-msan
...
Fix MSan error in "rdkafka" library #12990
2020-08-02 00:22:44 +03:00
alexey-milovidov
664b2c10c8
Update CMakeLists.txt
2020-08-01 18:56:50 +03:00
Alexey Milovidov
344d898df3
Allow "register" variables in libunwind
2020-08-01 18:10:47 +03:00
Ilya Golshtein
ff92812ac5
openssl to link with krb5
2020-07-31 13:49:08 +03:00
Ilya Golshtein
09bf3dc0d8
remove odd krb5 files from build
2020-07-31 13:49:08 +03:00
Ilya Golshtein
1a6307c848
headers hell fight
2020-07-31 13:49:08 +03:00
Ilya Golshtein
d7d7283494
generate forgotten headers
2020-07-31 13:49:08 +03:00
Ilya Golshtein
de7544d944
cyrus-sasl depends on krb5
2020-07-31 13:49:08 +03:00
Ilya Golshtein
65eb845ce5
find_program for awk
2020-07-31 13:49:08 +03:00
Ilya Golshtein
8cd51af951
Built against submodules
2020-07-31 13:49:08 +03:00
Ilya Golshtein
017a433403
some cleanup, disabling sasl really works
2020-07-31 13:49:08 +03:00
Ilya Golshtein
439eb38bde
config.h and autoconf.h moved to cmake dirs
2020-07-31 13:49:07 +03:00
Ilya Golshtein
d93f0c7548
initial - kerberized kafka works
2020-07-31 13:49:07 +03:00
Azat Khuzhin
3d3c25b52d
Switch cppkafka to upstream and bump to upstream/master
...
All changes in ClickHouse-Extra has been merged into upstream no need in
using the fork.
There are not a lot of changes for now, and cppkafka does not looks like
in the active development stage, but just in case better to sync with
upstream.
FWIW cppkafka usage is pretty minimal and it's usage is questionable,
since librdkafka is under active development while cppkafka is not, and
later still does not support some features that is used in clickhouse:
- interceptors (for logging proxying)
2020-07-31 00:41:44 +03:00
Alexey Milovidov
bbf9fd3c17
Merge branch 'master' into kafka-fix-msan
2020-07-30 22:13:41 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Alexey Milovidov
ab913c78f4
Fix MSan error in "rdkafka" library #12990
2020-07-28 14:13:32 +03:00
philip.han
b71fe9dab9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bayesAB
2020-07-23 22:21:15 +09:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
Vitaly Baranov
4cc101f1d4
Fix build scripts.
2020-07-17 10:30:13 +03:00