Commit Graph

15107 Commits

Author SHA1 Message Date
谢磊
c898986650
change the return type of funciton countEqual
the maximum length of the array is defined as UInt64.
the maximum of `UInt32` just 4294967295.
it's better to define the return type of the function `countEqual` as `UInt64`.
2018-03-31 12:54:06 -05:00
alexey-milovidov
412edac650
Merge pull request #2143 from lamber-ken/update-READEME.md
update README.md
2018-03-30 20:05:17 +03:00
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
谢磊
424c62e413
update README.md 2018-03-30 02:51:43 -05:00
alexey-milovidov
82932f904d
Merge pull request #2142 from yandex/doc-merge
Merged docs from #2110 and #2116
2018-03-30 03:21:56 +03:00
BayoNet
6881d84bc2 External editions are revised. English translation is actualised from 02.03.2018 version up to 26.03.2018. 2018-03-30 03:20:04 +03:00
BayoNet
474fc1dbb6 Some more typos are fixed. 2018-03-30 03:19:51 +03:00
BayoNet
6900432527 mysql.md is not translated yet 2018-03-30 03:16:51 +03:00
BayoNet
2f4d20a0cf Some typos are fixed. 2018-03-30 03:16:19 +03:00
BayoNet
17ee06b0d9 English translation update. 2018-03-30 03:15:52 +03:00
Alexey Milovidov
2b08e8208f Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-30 00:17:02 +03: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
d3119c1d4a Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-30 00:12:19 +03:00
Alexey Milovidov
761bb66699 Added links to the meetups [#CLICKHOUSE-3] 2018-03-30 00:11:56 +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
alexey-milovidov
aeaf8cf14c
Merge pull request #2140 from proller/fix14
Maybe fix test 00429_long_http_bufferization (remove curl timeout)
2018-03-29 23:20:35 +03:00
Alexey Milovidov
ccedfbc4ea Fixed error with unneeded dependency on libc version [#CLICKHOUSE-2] 2018-03-29 23:11:07 +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
17b8cb2f60 Merge branch 'system-log-prepare-table-on-each-flush' of https://github.com/ClickHouse-Ninja/ClickHouse-Server into system-log-prepare-table-on-each-flush 2018-03-29 16:57:46 +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
Kirill Shvakov
44fb6eb66d SystemLog: execute prepareTable() on each flush 2018-03-29 16:54:50 +03:00
Kirill Shvakov
d095f69ae6 Revert "SystemLog: execute prepareTable() on each flush"
This reverts commit 7f60bb0a9b.
2018-03-29 16:46:42 +03:00
Kirill Shvakov
042a197e91 Revert "#2131 deleted excessive logging"
This reverts commit d78a46d958.
2018-03-29 16:43:24 +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
Kirill Shvakov
3b09d2dab3 Docs: add Ninja build to the required libraries (#2136)
* Added Ninja build to the required libraries

* remove ninja from required libraries
2018-03-29 05:59:30 -07:00
proller
62b27b539a Debian make: Do not use ninja if not installed 2018-03-29 15:58:22 +03:00
Kirill Shvakov
d78a46d958 #2131 deleted excessive logging 2018-03-29 08:16:58 +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
a2bc046202
Merge pull request #2102 from yandex/fix-detach-database
Shutdown storages when DETACHing a database
2018-03-29 03:02:45 +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
Kirill Shvakov
b236e148c5 Merge remote-tracking branch 'upstream/master' into system-log-prepare-table-on-each-flush 2018-03-28 16:46:57 +03:00
Kirill Shvakov
7f60bb0a9b SystemLog: execute prepareTable() on each flush 2018-03-28 16:45:48 +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