Commit Graph

35572 Commits

Author SHA1 Message Date
alesapin
a576811c45 Better error codes and exception messages, remove duplicated headers 2020-02-20 13:48:48 +03:00
alesapin
0034674330 Fix tests and small bug 2020-02-20 12:22:42 +03:00
alesapin
91ac73a007 Add settings to storage in test 2020-02-20 11:50:26 +03:00
alesapin
5be878fd02 Fix test 2020-02-19 23:45:50 +03:00
alesapin
60118b65d5 Better 2020-02-19 18:12:32 +03:00
alesapin
7a9b96a8f9 Remove redundant function 2020-02-19 17:43:34 +03:00
alesapin
3f29ea0756 Simplier alter modify logic 2020-02-19 17:39:01 +03:00
alesapin
6f266c94ed Trying to simplify alter commands logic 2020-02-19 15:52:27 +03:00
alesapin
f85efc5522 SLightly more stable test 2020-02-19 15:50:46 +03:00
alesapin
ad51369982 Fix remove of actual_part from mutations 2020-02-19 15:50:11 +03:00
alesapin
6eda5547a2 Revert redundant change 2020-02-19 15:00:45 +03:00
alesapin
20d95ccc63 empty 2020-02-19 12:21:42 +03:00
alesapin
c2d53438e1 Less flappy test and more comments 2020-02-19 11:45:09 +03:00
alesapin
f4b2be7b32 Remove parts from mutations on replica start 2020-02-18 22:57:48 +03:00
alesapin
1f4b42a99f Fix bug in initialization 2020-02-18 20:31:49 +03:00
alesapin
d6f33cf161 More stable add drop test 2020-02-18 17:52:23 +03:00
alesapin
b3fe0b51a1 Merge branch 'master' into alter_on_top_of_mutations 2020-02-18 14:32:12 +03:00
alesapin
db3ea6cca8 Better comments 2020-02-18 14:31:24 +03:00
alexey-milovidov
9e4b29fe6c
Merge pull request #9156 from azat/SPLIT_SHARED_LIBRARIES-OFF_robust-build
Make SPLIT_SHARED_LIBRARIES=OFF more robust
2020-02-18 12:51:32 +03:00
alexey-milovidov
b688fc5895
Merge pull request #9174 from azat/O_CLOEXEC
[RFC] Set O_CLOEXEC
2020-02-18 12:50:19 +03:00
alesapin
5507610e67 Less flapping test 2020-02-18 12:30:20 +03:00
alesapin
62791b8a4b More stable and more verbose tests 2020-02-18 12:02:40 +03:00
Ivan Blinkov
b3653c03e7
Merge pull request #9173 from ClickHouse/dependabot/pip/docs/tools/pyyaml-5.3
Bump pyyaml from 5.1 to 5.3 in /docs/tools
2020-02-18 10:01:26 +03:00
Ivan Blinkov
6a797c12cd
Merge pull request #9172 from ClickHouse/dependabot/pip/docs/tools/urllib3-1.25.8
Bump urllib3 from 1.24.2 to 1.25.8 in /docs/tools
2020-02-18 10:01:12 +03:00
Ivan Blinkov
2f6f17a9e8
Merge pull request #9171 from ClickHouse/dependabot/pip/docs/tools/beautifulsoup4-4.8.2
Bump beautifulsoup4 from 4.6.3 to 4.8.2 in /docs/tools
2020-02-18 10:00:56 +03:00
Ivan Blinkov
bb49dbffc4
Merge pull request #9170 from ClickHouse/dependabot/pip/docs/tools/jinja2-2.11.1
Bump jinja2 from 2.10.1 to 2.11.1 in /docs/tools
2020-02-18 10:00:43 +03:00
Ivan Blinkov
51f29d0a9f
Merge pull request #9169 from ClickHouse/dependabot/pip/docs/tools/docutils-0.16
Bump docutils from 0.14 to 0.16 in /docs/tools
2020-02-18 10:00:24 +03:00
Azat Khuzhin
3bccd81752 Use -undefined,dynamic_lookup over --unresolved-symbols=ignore-all on OSX
Since OSX does not have later [1]:

    ld: unknown option: --unresolved-symbols=ignore-all
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  [1]: https://clickhouse-builds.s3.yandex.net/9156/eb89764d9dd631a9227ad9c36ad7d6f3ac8d0a4e/build_log_611498641_1581938330.txt
2020-02-18 07:09:24 +03:00
Azat Khuzhin
1313ec7d1b Make SPLIT_SHARED_LIBRARIES=OFF more robust
Refs: #6915
Closes: #9006
Fixes: #9005
2020-02-18 07:09:03 +03:00
Azat Khuzhin
aa252e48b8 Set O_CLOEXEC
Since clickhouse allows to execute user-specified command (i.e.
for dictionary loading), it is better not to expose them.

But there is something left for now:
- 10 -> socket:[14422712]
- 11 -> socket:[14422714]
- 12 -> anon_inode:[eventpoll]
- 13 -> anon_inode:[eventpoll]
- 14 -> anon_inode:[eventpoll]
- 15 -> socket:[14426310]
- 16 -> anon_inode:[eventpoll]
- 3 -> /proc/2739071/fd
- 6 -> socket:[14422708]
- 9 -> socket:[14422710]

And most of these (eventpoll) went from poco, for which O_CLOEXEC cannot
be passed.
2020-02-18 00:28:11 +03:00
dependabot-preview[bot]
2b6a2d8cd0
Bump pyyaml from 5.1 to 5.3 in /docs/tools
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1 to 5.3.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 21:21:04 +00:00
dependabot-preview[bot]
8fde35e2bc
Bump urllib3 from 1.24.2 to 1.25.8 in /docs/tools
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.2 to 1.25.8.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.2...1.25.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 21:20:45 +00:00
dependabot-preview[bot]
6b81f00ee6
Bump beautifulsoup4 from 4.6.3 to 4.8.2 in /docs/tools
Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.6.3 to 4.8.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 21:20:39 +00:00
dependabot-preview[bot]
dc80c80de4
Bump jinja2 from 2.10.1 to 2.11.1 in /docs/tools
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.11.1.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 21:20:03 +00:00
dependabot-preview[bot]
48e0f7fe0a
Bump docutils from 0.14 to 0.16 in /docs/tools
Bumps [docutils](http://docutils.sourceforge.net/) from 0.14 to 0.16.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 21:19:41 +00:00
Ivan Blinkov
c76a82777c
Merge pull request #9167 from ClickHouse/imgbot
[ImgBot] Optimize images
2020-02-18 00:06:50 +03:00
ImgBotApp
532fc506c7
[ImgBot] Optimize images
*Total -- 1,067.72kb -> 760.82kb (28.74%)

/website/images/tutorial/ece020129fdf4a18a6e75daf2e699cb9.png -- 66.67kb -> 46.67kb (30.01%)
/website/images/tutorial/24956f1a2efc48d78212586958aa036c.png -- 61.86kb -> 43.32kb (29.97%)
/website/images/tutorial/49c332e3d93146ba8f46beef6b2b02b0.png -- 80.97kb -> 56.75kb (29.91%)
/website/images/tutorial/f3132f4d1c0d42eab26d9111afe7771a.png -- 149.34kb -> 104.71kb (29.88%)
/website/images/tutorial/26b2c7aae21a4c76800cb1c7a33a374d.png -- 140.41kb -> 99.10kb (29.42%)
/website/images/tutorial/ef4141f348234773a5349c4bd3e8f804.png -- 68.39kb -> 48.58kb (28.97%)
/website/images/tutorial/2409f49d11fb4aa1b8b5ff34cf9ca75d.png -- 54.54kb -> 38.75kb (28.95%)
/website/images/tutorial/ac292656d03946d0aba35c75783a31f2.png -- 99.57kb -> 70.76kb (28.94%)
/website/images/tutorial/7b3c2e685832439b8c373bf2015131d2.png -- 101.36kb -> 72.13kb (28.84%)
/website/images/tutorial/d3578db55e304bd7b5eba818abdb53f5.png -- 88.47kb -> 63.14kb (28.63%)
/website/images/tutorial/a8518a200d6d405a95ee80ea1c8e1c90.png -- 94.05kb -> 67.23kb (28.51%)
/website/images/tutorial/885e507930e34b7c8f788d25e7ca2bcf.png -- 42.13kb -> 30.63kb (27.29%)
/docs/tools/mkdocs-material-theme/assets/flags/ja.svg -- 0.77kb -> 0.65kb (15.27%)
/website/images/yandex-white-button.png -- 0.79kb -> 0.67kb (15.19%)
/website/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/docs/en/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/docs/zh/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/docs/ru/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/docs/ja/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/docs/fa/images/logo.svg -- 0.41kb -> 0.35kb (14.49%)
/website/images/yandex-black-button.png -- 0.71kb -> 0.65kb (8.15%)
/website/images/logo-400x240.png -- 3.85kb -> 3.66kb (4.94%)
/docs/tools/mkdocs-material-theme/assets/flags/fa.svg -- 1.36kb -> 1.33kb (2.22%)
/docs/tools/mkdocs-material-theme/assets/flags/ru.svg -- 0.23kb -> 0.22kb (2.14%)
/docs/tools/mkdocs-material-theme/assets/flags/en.svg -- 0.51kb -> 0.50kb (1.92%)
/docs/tools/mkdocs-material-theme/assets/flags/zh.svg -- 0.63kb -> 0.62kb (1.72%)
/website/images/clickhouse-black.svg -- 4.33kb -> 4.33kb (0.02%)
/website/images/clickhouse-white.svg -- 4.33kb -> 4.33kb (0.02%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-17 21:02:18 +00:00
Alexey Milovidov
d79b526cdb Merge branch 'master' of github.com:yandex/ClickHouse 2020-02-17 23:54:57 +03:00
Alexey Milovidov
a7ab08498c Comments (before the code will be removed completely) 2020-02-17 23:53:08 +03:00
alexey-milovidov
3fcf2d4e78
Merge pull request #9155 from ClickHouse/obfuscator-overgenerate-data
clickhouse-obfuscator: allow to generate more data than was in source
2020-02-17 23:51:57 +03:00
Alexander Kuzmenkov
84237befef
Update entrypoint.sh 2020-02-17 22:52:35 +03:00
alexey-milovidov
dd3b34cfb4
Merge pull request #9164 from ClickHouse/fix-check-style
Fix check-style
2020-02-17 22:36:46 +03:00
alexey-milovidov
a72e51a1b3
Merge pull request #9166 from den-crane/patch-17
wrong tag zookeeper-servers instead of zookeeper in  tutorial.md
2020-02-17 22:34:43 +03:00
Alexander Kuzmenkov
73c4204e95 performance comparison 2020-02-17 22:33:08 +03:00
Denis Zhuravlev
ccf1b7cc3a
Update tutorial.md
wrong tag zookeeper-servers instead of zookeeper
2020-02-17 15:26:34 -04:00
Alexey Milovidov
c76ff369bb Fix check-style #9161 2020-02-17 22:09:56 +03:00
alexey-milovidov
146109fe27
Merge pull request #9161 from abyss7/arcadia
Reorganize layout of repository (part 1)
2020-02-17 21:58:20 +03:00
alesapin
a084ee8edd Fix style 2020-02-17 21:09:04 +03:00
alesapin
38450ccb6e Slightly better code 2020-02-17 21:07:22 +03:00
alexey-milovidov
35f1a8ed51
Fixed awful translation 2020-02-17 20:12:22 +03:00