Commit Graph

26968 Commits

Author SHA1 Message Date
alexey-milovidov
f18e9592a1 Update ExternalLoader.cpp 2019-07-20 00:03:57 +03:00
Vitaly Baranov
5b879e143f Fix segfault in ExternalLoader::reloadOutdated(). 2019-07-20 00:03:25 +03:00
alexey-milovidov
ca5d078a23
Update DatabaseOrdinary.cpp 2019-07-20 00:02:29 +03:00
alexey-milovidov
65f1baaeaa
Merge pull request #6072 from yandex/aku/poco-tsan
Update poco (tsan fixes)
2019-07-20 00:00:15 +03:00
alexey-milovidov
14f14c68cb
Update FunctionsCoding.h 2019-07-19 23:58:28 +03:00
alexey-milovidov
936aa38e64
Merge pull request #6062 from weiqxu/master
support reading from HA mode HDFS
2019-07-19 23:56:09 +03:00
Alexey Milovidov
9ccf5a7c90 Merge branch 'master' into Immowelt-ThreeDots 2019-07-19 19:54:00 +03:00
alexey-milovidov
6f96102fe9
Merge pull request #6058 from yandex/uniq-fix-non-deterministic-result
Fix non-deterministic result of "uniq" aggregate function in extreme rare cases.
2019-07-19 18:40:12 +03:00
Alexey Milovidov
faa07c8440 Added a test 2019-07-19 18:37:45 +03:00
Mikhail Filimonov
333d60e3e2 disallow switching ENABLE_MONGODB separate from ENABLE_POCO_MONGODB 2019-07-19 17:34:17 +02:00
Ivan Lezhankin
f9945494d9 Always resume consumer before subscription.
Also add more logs to see the difference between rd_kafka_assignment() vs rd_kafka_subscription()
2019-07-19 18:01:34 +03:00
chertus
e15f6e9752 Merge branch 'master' into ast 2019-07-19 18:01:09 +03:00
Alexander Kuzmenkov
de72d117ce Fix a race condition in parallel table loading.
ThreadSanitizer reported that a data race occurs when we attach to a
database and load its tables concurrently. Remove the custom code that
waits for all tables to load, and replace it with a local thread pool
and its wait() method.

This changes observable behavior: before, we would load the tables
sequentially when loading the system database, or performing an ATTACH
DATABASE query. Now we always load tables of ordinary databases in
parallel.
2019-07-19 17:35:02 +03:00
Dmitry Rubashkin
6ba4408741 Tests added 2019-07-19 16:30:22 +03:00
Dmitry Rubashkin
1aca3da121 Fixed inegration 2019-07-19 16:28:28 +03:00
Alexey Milovidov
98b0d08bf3 Added missing header #5981 2019-07-19 15:57:23 +03:00
alesapin
6752a862a3
Merge pull request #6053 from vitlibar/improve-util-zookeeper-adjust-block-numbers-to-parts
Improve utility zookeeper-adjust-block-numbers-to-parts.
2019-07-19 14:33:29 +03:00
Guillaume Tassery
7063ab3c38 Set max CIDR for IPV6 cidr function 2019-07-19 11:39:25 +02:00
Vitaly Baranov
e6aebb5b13 Fix after review. 2019-07-19 12:19:47 +03:00
Vitaly Baranov
9fb3135c23 Improve utility zookeeper-adjust-block-numbers-to-parts.
Add filter on shards and tables.
Add flag --dry-run.
The utility now checks cversion before doing anything.
2019-07-19 03:39:22 +03:00
Weiqing Xu
ec3c5a369d support reading from HA mode HDSF
the driver libhdfs3 can support HA mode. When the uri doesn't contain
port num, the libhdfs3 will handle it in HA mode, treat the uri as
nameservice name and read the real host and port from configuration file
as the origin Java client.
the default configuration file is hdfs-client.xml in the working
directory, it also can be set in env variable "LIBHDFS3_CONF".
the format of the configuration file is same with hdfs-site.xml.
2019-07-19 07:32:59 +08:00
Ivan Blinkov
d0f65bd5b0
Merge pull request #6059 from izebit/russian-documentation
Russian documentation about functions for working with external dictionaries
2019-07-19 01:08:28 +03:00
Artem Konovalov
86d421cee6 changes after code review 2019-07-19 00:42:48 +03:00
Artem Konovalov
0a3bd5ed00 changes after code review 2019-07-19 00:41:06 +03:00
Artem Konovalov
7808f944e9 changes after code review 2019-07-19 00:36:25 +03:00
Artem Konovalov
c2fee7345d fix typos 2019-07-19 00:21:16 +03:00
Artem Konovalov
8e93b500fd fix typos 2019-07-19 00:16:45 +03:00
Artem Konovalov
43c13d8283 fix typos 2019-07-19 00:15:34 +03:00
Artem Konovalov
60f3e4dd8c fix typos 2019-07-19 00:11:00 +03:00
Artem Konovalov
1cb5b77fa8 fix typos 2019-07-19 00:09:56 +03:00
Artem Konovalov
a5196861ff fix typos 2019-07-19 00:05:38 +03:00
Artem Konovalov
dcc0433dd6 fix typos 2019-07-18 23:59:01 +03:00
Artem Konovalov
839acc948e add russian documentation about functions for working with external dictionaries 2019-07-18 23:44:05 +03:00
Alexey Milovidov
a8caf269ca Better rehash loop 2019-07-18 23:28:47 +03:00
Alexey Milovidov
268854d14e Fix non-deterministic result of "uniq" aggregate function in extreme rare cases 2019-07-18 23:21:24 +03:00
Alexey Milovidov
71eed6507e Removed manual memory tracking when appropriate 2019-07-18 23:10:31 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
alexey-milovidov
d78bdd37d5
Merge pull request #6056 from amosbird/c4
fix clang build with certain toolchain
2019-07-18 22:58:44 +03:00
dimarub2000
d1e6e6ed4b fix json 2019-07-18 22:17:02 +03:00
dimarub2000
c9ec16987e minor fixes 2019-07-18 22:09:45 +03:00
dimarub2000
1ab0893432 minor fixes 2019-07-18 21:59:31 +03:00
dimarub2000
20a846d753 Merge branch 'master' of github.com:yandex/ClickHouse 2019-07-18 21:52:18 +03:00
Dmitry Rubashkin
7382cb41fa CREATE TABLE AS table_function() 2019-07-18 21:29:49 +03:00
alexey-milovidov
d3449e118f
Update TaskStatsInfoGetter.cpp 2019-07-18 21:24:38 +03:00
Amos Bird
9d5693bd69 fix clang build with certain toolchain 2019-07-19 02:17:26 +08:00
chertus
8f168005d9 disable (not working) defaults for table functions in HTTP 2019-07-18 19:54:31 +03:00
Artem Konovalov
7d4ebe576d fix name of a parameter 2019-07-18 18:59:22 +03:00
Artem Konovalov
30ca545b09 fix name of a parameter 2019-07-18 18:56:58 +03:00
chertus
d8579714b8 trying to speedup Allocator::realloc() (attempt 2) 2019-07-18 18:25:23 +03:00
chertus
34e1b81f84 trying to speedup Allocator::realloc() 2019-07-18 18:07:41 +03:00