Commit Graph

10989 Commits

Author SHA1 Message Date
proller
b3e8949d2a CLICKHOUSE-3675 Add glibc version test
Fix zookeeper tools compile
2018-03-30 16:58:00 +03:00
Alexey Zatelepin
5fdd50c2a2 process included config node once more if include happened [#MTRSADMIN-3894] 2018-03-30 16:33:43 +03:00
proller
ce23653cad
Fix build with old poco (#2144) 2018-03-30 05:42:06 -07:00
alexey-milovidov
e6019624c1
Merge pull request #2138 from bretthoerner/uninitialized-fix
Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
2018-03-30 00:15:33 +03:00
alexey-milovidov
f358dc4125
Update ColumnString.h 2018-03-30 00:15:14 +03:00
alexey-milovidov
10e5d63d76
Merge pull request #2131 from ClickHouse-Ninja/system-log-prepare-table-on-each-flush
SystemLog: проверка структуры и существования таблицы при каждом flush
2018-03-29 23:55:14 +03:00
alexey-milovidov
30838f4d9f
Update SystemLog.h 2018-03-29 23:54:57 +03:00
alexey-milovidov
c9da34dd84
Merge pull request #2139 from proller/fix16
CLICKHOUSE-3644: Server: do not use SO_REUSEPORT
2018-03-29 23:50:06 +03:00
alexey-milovidov
db53190854
Update ColumnString.h 2018-03-29 23:21:40 +03:00
proller
450efef456 Maybe fix test 00429_long_http_bufferization (remove curl timeout) 2018-03-29 22:12:24 +03:00
proller
037cf62230 CLICKHOUSE-3644: Server: do not use SO_REUSEPORT 2018-03-29 20:24:46 +03:00
Brett Hoerner
fef91af96f Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
Before adding this ignore you would receive the following when using GCC
7.3.1:

[ 82%] Building CXX object dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o
In file included from /ClickHouse/dbms/src/Storages/System/StorageSystemAsynchronousMetrics.cpp:5:0:
/ClickHouse/dbms/src/Columns/ColumnString.h: In member function ‘virtual DB::BlockInputStreams DB::StorageSystemAsynchronousMetrics::read(const Names&, const DB::SelectQueryInfo&, const DB::Context&, DB::QueryProcessingStage::Enum&, size_t, unsigned int)’:
/ClickHouse/dbms/src/Columns/ColumnString.h:96:45: error: ‘*((void*)&<anonymous> +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         const size_t size_to_append = s.size() + 1;
                                       ~~~~~~^~
cc1plus: all warnings being treated as errors
make[2]: *** [dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/build.make:63: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9105: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
2018-03-29 12:02:09 -05:00
Alexey Milovidov
b997830289 Fixed error found by Artemeey Gavryushin [#CLICKHOUSE-3] 2018-03-29 18:31:59 +03:00
Kirill Shvakov
b742908731 SystemLog: execute prepareTable() on each flush
Merge remote-tracking branch 'upstream/master' into system-log-prepare-table-on-each-flush

#2131 deleted excessive logging

Revert "#2131 deleted excessive logging"

This reverts commit d78a46d958.

Revert "SystemLog: execute prepareTable()  on each flush"

This reverts commit 7f60bb0a9b.

SystemLog: execute prepareTable() on each flush
2018-03-29 16:57:16 +03:00
Vitaliy Lyudvichenko
134efcd7ed Swapped send and receive timeouts settings from client. [#CLICKHOUSE-2] 2018-03-29 16:35:59 +03:00
Vitaliy Lyudvichenko
63eee94319
Add max_network_bandwidth_for_all_users setting. [#CLICKHOUSE-2] (#2137) 2018-03-29 16:24:36 +03:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
alexey-milovidov
54986af313
Merge pull request #2122 from proller/fix14
CLICKHOUSE-3630: Fix race on logger reload, enable reload
2018-03-29 04:30:30 +03:00
alexey-milovidov
4126c7767d
Merge pull request #2130 from yandex/fix-distributed-batch-inserts
More aggressively move files to broken/ when doing distributed batch inserts
2018-03-29 03:12:28 +03:00
alexey-milovidov
2e15ce6791
Merge pull request #2132 from yandex/small-enhancements
Small enhancements
2018-03-29 03:07:49 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database 2018-03-29 03:01:07 +03:00
Vitaliy Lyudvichenko
de3791dbda Accpet client-side send and recieve timeouts. [#CLICKHOUSE-2] 2018-03-28 17:10:11 +03:00
Vitaliy Lyudvichenko
701b58b4ff Faster DROP PARTITION. [#CLICKHOUSE-2] 2018-03-28 15:48:40 +03:00
Alexey Zatelepin
aa4f4e62fe mark failed batches as broken [#CLICKHOUSE-3594] 2018-03-28 15:28:15 +03:00
Alexey Zatelepin
00da8a477c report broken files more accurately [#CLICKHOUSE-3594] 2018-03-28 15:28:15 +03:00
proller
239f0974fa CLICKHOUSE-3630: Fix race on logger reload, enable reload 2018-03-28 15:20:45 +03:00
Alexey Zatelepin
f2db72a5e5 move squashing to read side #2084 [#CLICKHOUSE-3540]
This way there is a clear correspondence between blocks inserted into the parent table
and blocks inserted into the materialized view.
2018-03-28 14:41:20 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
Show create database
2018-03-28 05:29:36 +03:00
alexey-milovidov
e3cbd3306c
Merge pull request #2081 from yandex/stricter-mutable-column-semantic-2
&& - qualified IColumn::mutate
2018-03-28 05:27:35 +03:00
alexey-milovidov
f48caff360
Update COWPtr.h 2018-03-28 05:27:25 +03:00
Alex Zatelepin
1be7c09702 add readPrefix()/readSuffix() calls for completeness #2084 [#CLICKHOUSE-3540] 2018-03-27 22:25:50 +00:00
Alexey Zatelepin
88a9b7de91 fix calls to writeSuffix() in PushingToViewsBlockOutputStream #2084 [#CLICKHOUSE-3540]
don't use copyData because it calls writeSuffix() prematurely.
2018-03-27 23:04:40 +03:00
Alexey Zatelepin
d58483b084 squash blocks when inserting into materialized views #2084 [#CLICKHOUSE-3540] 2018-03-27 20:08:41 +03:00
proller
348b7c3bda clickhouse-test: Fix run without server config 2018-03-27 18:08:51 +03:00
alexey-milovidov
03b01fc249
Merge pull request #2118 from yandex/faster-sync-insert
Faster distributed sync insert
2018-03-26 22:23:41 +03:00
Vitaliy Lyudvichenko
190964f98e Avoid extra waits in copier. [#CLICKHOUSE-2] 2018-03-26 21:39:28 +03:00
Nikolai Kochetov
d63d9a4ffb fix test [#CLICKHOUSE-3590] 2018-03-26 18:48:19 +03:00
KochetovNicolai
d25c244946
Merge pull request #1882 from zhang2014/support/simd_for_lengthUTF-8
ISSUES-1885 UTF8 countCodePoints use SIMD
2018-03-26 18:27:07 +03:00
Alex Zatelepin
c5b04f7f17 Add info about total uncompressed part size to system tables (#2052)
* column size calculating routines now take into account multiple streams [#CLICKHOUSE-2831]

* rename for clarity

* use more appropriate method for calculating table size

* add info about total uncompressed part size to system.parts and system.parts_columns [#CLICKHOUSE-2831]

* rename columns for clarity [#CLICKHOUSE-2831]

* count shared substreams only once [#CLICKHOUSE-2831]
2018-03-26 17:18:04 +03:00
alexey-milovidov
f1887fe033
Merge pull request #2105 from elBroom/add-query-id-to-client
Added query_id to client
2018-03-26 01:45:29 +03:00
alexey-milovidov
9ba28666e1
Update Client.cpp 2018-03-26 01:44:54 +03:00
alexey-milovidov
db4944508f
Merge pull request #2100 from tobad357/bugfix/fix-subscribe-multiple-topics
#2095 Make sure to split the topics args list on ','
2018-03-26 01:43:21 +03:00
alexey-milovidov
237c530b4e
Update StorageKafka.cpp 2018-03-26 01:42:36 +03:00
Jonatas Freitas
e07cde4363 Added missing slash on graphite monitoring section 2018-03-25 01:43:12 -03:00
Alexey Milovidov
5ac329c91c Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 07:34:33 +03:00
Alexey Milovidov
93307a82e6 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 07:20:31 +03:00
Alexey Milovidov
c2f40e8d41 Removed libzookeeper [#CLICKHOUSE-2] 2018-03-25 06:47:56 +03:00
Alexey Milovidov
2c4b28597e Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 03:57:04 +03:00
Alexey Milovidov
49045754d9 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 03:56:08 +03:00
Alexey Milovidov
6721914041 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 03:36:35 +03:00
Alexey Milovidov
548c4b0adf Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 03:20:51 +03:00
Alexey Milovidov
522bf01db9 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 03:15:52 +03:00
elBroom
b80f5ed875 ignoring query_id in interactive mode 2018-03-25 02:50:30 +03:00
elBroom
d406454f39 Added query_id to client 2018-03-25 02:22:58 +03:00
Alexey Milovidov
0714a217fe Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 02:13:05 +03:00
Alexey Milovidov
280a5f8e3f Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 02:01:21 +03:00
Alexey Milovidov
24f94d9352 Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite 2018-03-24 23:30:57 +03:00
Alexey Milovidov
87b4d8209a Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-24 23:28:43 +03:00
Alexey Milovidov
7ec66830af Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-24 23:17:27 +03:00
Alexey Milovidov
58f32f98d7 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-24 23:11:46 +03:00
Alexey Milovidov
ae9633c1e5 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-24 23:00:16 +03:00
Alexey Zatelepin
2a366afbf5 add shutdowns everywhere [#CLICKHOUSE-3664] 2018-03-24 12:08:32 +00:00
Alexey Zatelepin
10b669a833 extract common base for DatabaseMemory and DatabaseOrdinary [#CLICKHOUSE-3664] 2018-03-24 12:08:32 +00:00
Tobias Adamson
0af09ae0c7 Add trim to topic names to be a bit more lenient if config is 'topic1, topic2' 2018-03-24 14:51:35 +08:00
Tobias Adamson
dd06b39e5f Fix rename of variable, duplication of wrong variable name 2018-03-24 09:16:33 +08:00
Alexey Milovidov
26584844b6 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-24 04:00:12 +03:00
Alexey Milovidov
10be6ca8f8 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-24 03:45:04 +03:00
Alexey Milovidov
6b684fc1a3 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-24 02:15:14 +03:00
Alexey Zatelepin
cf3c24d07d break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664] 2018-03-23 23:30:04 +03:00
proller
405ad39cd4 Fix test 2018-03-23 22:45:33 +03:00
Nikolai Kochetov
cc2c1f5171 removed createImmutable 2018-03-23 22:24:55 +03:00
Alexey Milovidov
f5896d35b4 Removed duplicate code that could lead to wrong behaviour #1959 2018-03-23 21:20:54 +03:00
Alexey Milovidov
046346645f Minor modifications #1959 2018-03-23 19:55:35 +03:00
alexey-milovidov
d298f9af5c
Merge pull request #1959 from kshvakov/show-server-group-in-client
Возможность показывать группу сервера при подключении в клиенте
2018-03-23 19:26:22 +03:00
proller
7cdb6b5de1 Fix test 2018-03-23 19:25:02 +03:00
alexey-milovidov
3f320eb031
Merge branch 'master' into show-server-group-in-client 2018-03-23 19:23:25 +03:00
alexey-milovidov
7ba82eb359
Update Defines.h 2018-03-23 19:18:36 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
zhang2014
06d71a9493 ISSUES-218 add test for distributed & case when then 2018-03-23 18:42:06 +03:00
proller
b87cfd2924 Add tests 2018-03-23 18:36:50 +03:00
Tobias Adamson
c76d1a008d Make sure to split the topics args list on ',' 2018-03-23 22:13:09 +08:00
KochetovNicolai
aacc0bee53
Merge pull request #2097 from yandex/CLICKHOUSE-3663
Clickhouse 3663
2018-03-23 14:56:08 +03:00
Nikolai Kochetov
2f468f1ae1 fix test [#CLICKHOUSE-3663] 2018-03-23 13:50:20 +03:00
alexey-milovidov
cf52c2840a
Merge branch 'master' into better-range-reader 2018-03-23 02:14:40 +03:00
Alexey Milovidov
0a06971e43 Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite 2018-03-23 02:10:00 +03:00
robot-metrika-test
6249245018 Auto version update to [54371] 2018-03-23 01:11:43 +03:00
alexey-milovidov
a75d5525e7 Update MergeTreeDataPartChecksum.h 2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
883de7a2a6 startup() waits for initialization of ReplicatedMergeTreeRestartingThread. [#CLICKHOUSE-2] 2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
fe8dfd3038 Add minimalistic checksums. [#CLICKHOUSE-3660] 2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
7c2a99c9b8 Introduced MinimalisticDataPartChecksums. [#CLICKHOUSE-3660] 2018-03-23 00:26:46 +03:00
Nikolai Kochetov
6f60e6ee4f added test [#CLICKHOUSE-3663] 2018-03-22 23:18:11 +03:00
Nikolai Kochetov
cbfd862fa3 fix reading with evaluated defaults [#CLICKHOUSE-3663] 2018-03-22 23:18:11 +03:00
Nikolai Kochetov
74211b5bf8 added test [#CLICKHOUSE-3663] 2018-03-22 22:54:21 +03:00
Nikolai Kochetov
97624d7d78 fix reading with evaluated defaults [#CLICKHOUSE-3663] 2018-03-22 22:53:19 +03:00
Alexey Milovidov
f4b742e9fb Fixed segfault in case of bad argument types for some aggregate functions [#CLICKHOUSE-2] 2018-03-22 18:37:24 +03:00
Alexey Milovidov
6d889da41e Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-22 15:15:23 +03:00
Alexey Milovidov
d690c24198 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-22 00:40:53 +03:00
Nikolai Kochetov
5c91eecb2b fix test 2018-03-21 21:43:17 +03:00
Nikolai Kochetov
bd3f2ea361 Merge branch 'stricter-mutable-column-semantic-3' into stricter-mutable-column-semantic-2 2018-03-20 22:47:40 +03:00
Nikolai Kochetov
476d4b339c Immutable construction for columns 2018-03-20 22:45:10 +03:00