Commit Graph

26874 Commits

Author SHA1 Message Date
alexey-milovidov
d0eb20f4b7
Merge pull request #6070 from bopohaa/fix-protobuf-length-delimited-message-limit
Add verification of the length of the protobuf message
2019-07-20 00:31:36 +03:00
alexey-milovidov
3a8bb58522
Update ProtobufReader.cpp 2019-07-20 00:30:22 +03:00
alexey-milovidov
f2b6adf15e
Update ProtobufReader.cpp 2019-07-20 00:27:20 +03:00
alexey-milovidov
6cb9e9f56f
Update ProtobufReader.h 2019-07-20 00:26:12 +03:00
alexey-milovidov
3ec2360afd
Update ProtobufReader.h 2019-07-20 00:25:49 +03:00
alexey-milovidov
93ddb7da89
Update ProtobufReader.cpp 2019-07-20 00:25:07 +03:00
Alexey Milovidov
193858be37 Fixed broken link in docs 2019-07-20 00:24:29 +03:00
Alexey Milovidov
27fd4a6955 Fixed broken link in docs 2019-07-20 00:20:35 +03:00
Alexey Milovidov
9a9e6b7a44 Minor modification #6073 2019-07-20 00:09:28 +03:00
alexey-milovidov
746fe5cdac
Merge pull request #6073 from yandex/aku/loaddb-race
Fix a race condition in parallel table loading.
2019-07-20 00:08:09 +03:00
Vitaly Baranov
e64f8e606d Add comments. 2019-07-20 00:04:19 +03:00
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