Commit Graph

26782 Commits

Author SHA1 Message Date
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
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
936aa38e64
Merge pull request #6062 from weiqxu/master
support reading from HA mode HDFS
2019-07-19 23:56:09 +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
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
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
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
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
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
proller
3aaa87171f
Debian post install: remove dot from Password for default user. 2019-07-18 14:55:14 +03:00
BayoNet
d48995f1e7
DOCAPI-7444: RU <-> EN docs regular sync. (#5944)
* DOCAPI-7444: RU <-> EN docs regular sync.
2019-07-18 14:04:45 +03:00
BayoNet
83c8d4872d
DOCAPI-7400: Gorilla codecs. Basic review of English text. (#5904)
Gorilla codecs. Rewriting of English text. 
Update of  other codecs description.
2019-07-18 10:56:16 +03:00
Ivan
2f68aa7207
Fix build with external libcxx (#6010)
* First attempt to fix build with external libcxx
* Fix build
2019-07-18 09:55:05 +03:00
chertus
afa2bd6dfb allow alloc 4Mb more after out-of-limit exception 2019-07-18 01:48:31 +03:00
alexey-milovidov
a20a39caac
Merge pull request #6036 from vitlibar/remove-unnecessary-try-catch
Remove unnecessary try catch
2019-07-17 23:34:37 +03:00
alexey-milovidov
f6c636ce2e
Merge pull request #6039 from nikitamikhaylov/metrics_task
AsynchronousMetrics: add a metric for number of databases and total number of tables.
2019-07-17 22:34:37 +03:00
alexey-milovidov
aaee4724c3
Update AsynchronousMetrics.cpp 2019-07-17 22:34:29 +03:00
Alexey Milovidov
0f15c01c68 Added a notion of obsolete settings for our best clients 2019-07-17 21:54:34 +03:00
Alexey Milovidov
dc8b83c882 Added a test #6040 2019-07-17 20:23:06 +03:00
Alexey Milovidov
dd97878107 Style 2019-07-17 20:19:55 +03:00
alexey-milovidov
cbca99ca01
Merge pull request #6040 from yandex/fix-desc-table
Do not show virtual columns in DESCRIBE TABLE
2019-07-17 20:17:35 +03:00
Ivan
af44506ab4
Do not show virtual columns in DESCRIBE TABLE 2019-07-17 18:45:32 +03:00
Nikita Mikhaylov
44db7badbe done 2019-07-17 18:36:28 +03:00