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
db53190854
Update ColumnString.h
2018-03-29 23:21:40 +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
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
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 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 Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +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
3f320eb031
Merge branch 'master' into show-server-group-in-client
2018-03-23 19:23:25 +03:00