Commit Graph

1459 Commits

Author SHA1 Message Date
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
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
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
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