Commit Graph

25334 Commits

Author SHA1 Message Date
alesapin
2561e27ead Add settings to storage in test 2020-02-20 11:50:00 +03:00
alesapin
e69fd2ac0d Fix test 2020-02-19 23:44:36 +03:00
alesapin
3b4c27b0de Fix remove parts from mutations 2020-02-19 15:55:23 +03:00
alexey-milovidov
9e4b29fe6c
Merge pull request #9156 from azat/SPLIT_SHARED_LIBRARIES-OFF_robust-build
Make SPLIT_SHARED_LIBRARIES=OFF more robust
2020-02-18 12:51:32 +03:00
alexey-milovidov
b688fc5895
Merge pull request #9174 from azat/O_CLOEXEC
[RFC] Set O_CLOEXEC
2020-02-18 12:50:19 +03:00
Azat Khuzhin
3bccd81752 Use -undefined,dynamic_lookup over --unresolved-symbols=ignore-all on OSX
Since OSX does not have later [1]:

    ld: unknown option: --unresolved-symbols=ignore-all
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  [1]: https://clickhouse-builds.s3.yandex.net/9156/eb89764d9dd631a9227ad9c36ad7d6f3ac8d0a4e/build_log_611498641_1581938330.txt
2020-02-18 07:09:24 +03:00
Azat Khuzhin
1313ec7d1b Make SPLIT_SHARED_LIBRARIES=OFF more robust
Refs: #6915
Closes: #9006
Fixes: #9005
2020-02-18 07:09:03 +03:00
Azat Khuzhin
aa252e48b8 Set O_CLOEXEC
Since clickhouse allows to execute user-specified command (i.e.
for dictionary loading), it is better not to expose them.

But there is something left for now:
- 10 -> socket:[14422712]
- 11 -> socket:[14422714]
- 12 -> anon_inode:[eventpoll]
- 13 -> anon_inode:[eventpoll]
- 14 -> anon_inode:[eventpoll]
- 15 -> socket:[14426310]
- 16 -> anon_inode:[eventpoll]
- 3 -> /proc/2739071/fd
- 6 -> socket:[14422708]
- 9 -> socket:[14422710]

And most of these (eventpoll) went from poco, for which O_CLOEXEC cannot
be passed.
2020-02-18 00:28:11 +03:00
alexey-milovidov
3fcf2d4e78
Merge pull request #9155 from ClickHouse/obfuscator-overgenerate-data
clickhouse-obfuscator: allow to generate more data than was in source
2020-02-17 23:51:57 +03:00
alexey-milovidov
146109fe27
Merge pull request #9161 from abyss7/arcadia
Reorganize layout of repository (part 1)
2020-02-17 21:58:20 +03:00
alexey-milovidov
35f1a8ed51
Fixed awful translation 2020-02-17 20:12:22 +03:00
Ivan Lezhankin
102dad0ca0 Merge branch 'master' into arcadia 2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034 More clean-up 2020-02-17 17:27:09 +03:00
Alexey Milovidov
809b409426 Read the code 2020-02-17 15:44:58 +03:00
Alexey Milovidov
d66d1c7930 Added a test for obfuscator 2020-02-17 11:05:48 +03:00
Alexey Milovidov
76153ed8ac clickhouse-obfuscator: allow to generate more data than was in source 2020-02-17 10:52:13 +03:00
Alexey Milovidov
09e18f05ce Fixed error, added a test #9143 2020-02-17 09:54:24 +03:00
Alexey Milovidov
35e7197c8f Merge branch 'master' into bit-test-many-fuzz 2020-02-17 08:43:44 +03:00
Alexey Milovidov
b88238dffc Added 9th reason why parts can appear to be non byte-identical after download 2020-02-17 08:16:48 +03:00
alexey-milovidov
ca00c9c4cd
Merge pull request #9150 from ClickHouse/fix-bug-demangle
Fix bug in "demangle" function
2020-02-17 07:22:11 +03:00
alexey-milovidov
e0b6019878
Merge pull request #9014 from amosbird/joingetfix2
Fix joinGet with nullable return types.
2020-02-17 06:59:40 +03:00
alexey-milovidov
930cb5c3c3
Merge pull request #9152 from azat/poco-1.7.6-fix
Drop unused ALL_ADDRESSES const (fixes poco 1.7.6+dfsg1-5+deb9u1)
2020-02-17 06:58:35 +03:00
Amos Bird
0dee987831
Fix joinGet with nullable return types. 2020-02-17 07:32:32 +08:00
Azat Khuzhin
c2d7922413 Drop unused ALL_ADDRESSES const (fixes poco 1.7.6+dfsg1-5+deb9u1)
With poco 1.7.6+dfsg1-5+deb9u1:
  5  0x00007f9921e48085 in __cxa_throw ()
  6  0x00007f9918dfca88 in Poco::Net::IPAddress::IPAddress(void const*, unsigned int, unsigned int) () from /usr/lib/libPocoNet.so.46
  7  0x00007f9918dfcf91 in Poco::Net::IPAddress::operator&(Poco::Net::IPAddress const&) const () from /usr/lib/libPocoNet.so.46
  8  0x00007f991737a623 in DB::AllowedClientHosts::IPSubnet::set (this=0x7f991742afa0 <DB::(anonymous namespace)::ALL_ADDRESSES>, prefix_=..., mask_=...) at AllowedClientHosts.h:146
  9  0x00007f991737a2da in DB::AllowedClientHosts::IPSubnet::IPSubnet (this=0x7f991742afa0 <DB::(anonymous namespace)::ALL_ADDRESSES>, prefix_=..., mask_=...) at AllowedClientHosts.h:24
  10 0x00007f991737a0a2 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at AllowedClientHosts.cpp:25

Fixes: 2e4174a54c
2020-02-16 21:24:38 +03:00
Alexey Milovidov
01d4805989 Merge branch 'master' into bit-test-many-fuzz 2020-02-16 15:05:20 +03:00
Alexey Milovidov
405630d38e Added test #8985 2020-02-16 14:58:54 +03:00
Alexey Milovidov
9cd79c8a38 Fixed bug in "demangle" #8985 2020-02-16 14:55:45 +03:00
alexey-milovidov
4db0eac979
Merge pull request #9149 from ClickHouse/fix-bad-join-test
Fixed non-deterministic test
2020-02-16 13:53:11 +03:00
Alexey Milovidov
2e8d42a188 Additions to prev. revision 2020-02-16 13:44:24 +03:00
alexey-milovidov
a3eac2688b
Merge pull request #9144 from ClickHouse/describe-query-profiler-when-unavailable
Describe reasons when query profiler cannot work
2020-02-16 11:57:59 +03:00
Alexey Milovidov
ecbc3c5f33 Fixed non-deterministic test 2020-02-16 11:54:41 +03:00
alexey-milovidov
355ff00c2e
Revert "Build fixes" 2020-02-16 11:48:01 +03:00
Ivan Lezhankin
4cedd4619d Code clean-up 2020-02-16 11:04:03 +03:00
Alexey Milovidov
3772ffdc9d Describe reasons when query profiler cannot work 2020-02-16 09:51:52 +03:00
Alexey Milovidov
63b7d6e5ac Describe reasons when query profiler cannot work 2020-02-16 09:49:24 +03:00
Alexey Milovidov
724be6d08f Fixed fuzz test and incorrect behaviour of bitTestAll/Any functions 2020-02-16 09:46:29 +03:00
alexey-milovidov
41c883ace3
Merge pull request #8911 from millb/secure_password
Changed format for path in replicas
2020-02-16 07:17:12 +03:00
alexey-milovidov
4ebb240be6
Update Cluster.h 2020-02-16 07:13:54 +03:00
alexey-milovidov
5ebabe519f
Update Cluster.cpp 2020-02-16 07:12:48 +03:00
alexey-milovidov
480881563a
Slightly more readable. 2020-02-16 07:11:19 +03:00
alexey-milovidov
6f51f089ec
Merge pull request #9138 from ClickHouse/system-replicas-add-zookeeper-exception-column
Add zookeeper_exception column to system.replicas table.
2020-02-16 06:14:22 +03:00
alexey-milovidov
76f09ec883
Merge pull request #9052 from oandrew/reinterpret-fixedstring-bugfix
Use correct implementation for reinterpretAsFixedString
2020-02-16 06:11:13 +03:00
Andrew Onyshchuk
55b9af60ca Add test for reinterpretAsFixedString 2020-02-15 17:49:32 -06:00
Alexey Milovidov
4ae404f794 Implement #9137 2020-02-15 03:13:00 +03:00
Alexey Milovidov
07479236d7 Implement #9137 2020-02-15 03:11:09 +03:00
alexey-milovidov
e9af153819
Merge pull request #9126 from Melancholic/change_http_status
Fixed #5104. Return 503 status in /replicas_status if not ok
2020-02-15 02:59:18 +03:00
alexey-milovidov
7f581fb555
Merge pull request #9135 from den-crane/test-for-6143
tests for #6143 and #2314
2020-02-15 02:57:20 +03:00
alexey-milovidov
38c4f3ed84
Merge pull request #9131 from ClickHouse/better_temporary_live_view_syntax
Better CREATE syntax for temporary LIVE VIEW
2020-02-15 02:55:37 +03:00
alexey-milovidov
ab702acf12
Merge pull request #9105 from ClickHouse/aku/flap-faster
Make some performance tests faster.
2020-02-15 02:54:16 +03:00
alexey-milovidov
a264f4a4dc
Merge pull request #9061 from ClickHouse/aku/flappy-perf
Less flappy performance test queries
2020-02-15 02:53:10 +03:00