alesapin
f0f7f2b5d2
Merge branch 'master' into recompression_in_background
2020-09-08 15:43:37 +03:00
alesapin
6ad91d1018
Merge pull request #14490 from ClickHouse/control_ttl_merges_in_pool
...
Control ttl merges in pool
2020-09-08 15:42:20 +03:00
Kruglov Pavel
70be9b152c
Add custom null representation in tsv
2020-09-08 15:39:24 +03:00
Kruglov Pavel
0e8946eb9f
Fix mistake
2020-09-08 15:38:11 +03:00
Kruglov Pavel
cce3f3fe4e
Change setting name
2020-09-08 15:37:18 +03:00
Kruglov Pavel
563f1486e6
Add output_tsv_null_representation
2020-09-08 15:36:11 +03:00
Kruglov Pavel
ac5d6caef5
Add tsv_null_representation
2020-09-08 15:32:31 +03:00
Nikolai Kochetov
dbd7ef9ee6
Fix build.
2020-09-08 15:31:36 +03:00
Kruglov Pavel
0e9612d9ff
Add null_representation setting in TSV
2020-09-08 15:29:22 +03:00
alesapin
bea15175d6
Merge pull request #14496 from Jokser/disk-s3-shutdown
...
Disable S3 requests processing during context shutdown to speed up termination process
2020-09-08 15:21:54 +03:00
Pavel Kovalenko
5e39f8b32b
Add comment explaining DiskS3::shutdown
2020-09-08 15:20:35 +03:00
nikitamikhaylov
724b78a578
better
2020-09-08 15:03:55 +03:00
Ilya Yatsishin
37236e5923
Merge pull request #14553 from ClickHouse/fix-flacky-test-11
...
Handle host/network is unreachable in integration tests
2020-09-08 14:45:00 +03:00
Ilya Yatsishin
a3d6732662
Merge pull request #14558 from bharatnc/ncb/improve-config-path-processing
...
use std::filesystem::path in ConfigProcessor for filepath concatenation
2020-09-08 14:39:23 +03:00
alesapin
6e591d5dea
Better retries
2020-09-08 14:20:35 +03:00
Nikolai Kochetov
b0cb5511a9
Fix build.
2020-09-08 14:17:39 +03:00
Nikita Mikhaylov
80f193f615
Merge pull request #14252 from bharatnc/ncb/time-query-log-in-ms
...
add query_start_time_microseconds field to system.query_log & system.query_thread_log tables
2020-09-08 15:11:50 +04:00
alesapin
cdfca04b42
Missed break
2020-09-08 14:07:41 +03:00
Nikolai Kochetov
4aeed33d4c
Fix build.
2020-09-08 14:07:26 +03:00
Nikolai Kochetov
07e835381c
Fix build.
2020-09-08 14:06:36 +03:00
alesapin
43c17ff79e
Add retries to test
2020-09-08 14:02:44 +03:00
Artem Zuikov
69e82e647e
another fix for clang tidy
2020-09-08 14:01:17 +03:00
Nikolai Kochetov
39aad9979a
Remove Join from ExpressionActions.
2020-09-08 13:40:53 +03:00
alesapin
be0f8f3ee0
Merge pull request #14575 from ClickHouse/turn_on_ccache
...
Fix cmake ccache search.
2020-09-08 13:25:10 +03:00
alesapin
4aad57de87
Merge pull request #14578 from ClickHouse/retries_in_s3_downloader
...
Retries in s3 downloader
2020-09-08 12:53:09 +03:00
Artem Zuikov
d95614ad60
fix for clang tidy
2020-09-08 12:16:50 +03:00
Ilya Yatsishin
11a247d2f4
Merge pull request #14556 from ClickHouse/fix-arcadia-2
...
Lower binary size in "Arcadia" build
2020-09-08 12:08:35 +03:00
alesapin
c40ba48822
Raise on error
2020-09-08 11:49:24 +03:00
alesapin
1a1bccf416
Add sleeps
2020-09-08 11:45:22 +03:00
alesapin
73253f058d
Add sleep
2020-09-08 11:45:01 +03:00
alesapin
0193a132d4
Add retries to s3 downloader
2020-09-08 11:43:02 +03:00
alesapin
30827dec70
Add special build config
2020-09-08 11:20:41 +03:00
Nikolai Kochetov
c3eeb8f71e
Merge pull request #14412 from ClickHouse/pipes-and-creating-sets
...
Pipes and creating sets
2020-09-08 10:47:56 +03:00
Nikolai Kochetov
d771ce5609
Merge pull request #14500 from ClickHouse/many-rows-in-totals
...
Many rows in totals
2020-09-08 10:40:14 +03:00
Anna
0a9f6b1805
DOCSUP-2193: Describe SHOW queries for RBAC ( #14515 )
...
* Documentation for #10387 , upd syntax by issues #12311 , #12312
* Update docs/ru/sql-reference/statements/show.md
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-09-08 10:35:24 +03:00
alesapin
6c9734f23c
bump ci
2020-09-08 10:13:33 +03:00
alesapin
b91f37169d
Fix cmake
2020-09-08 10:09:40 +03:00
alesapin
4364bff3bc
Merge pull request #12761 from kssenii/rabbitmq-improvements
...
RabbitMQ improvements
2020-09-08 09:38:25 +03:00
alesapin
93150366d2
Merge pull request #14552 from ClickHouse/add_gcc_10_to_binary_build
...
Bump binary image version
2020-09-08 09:37:16 +03:00
alesapin
8ff0aedebe
Merge branch 'control_ttl_merges_in_pool' into recompression_in_background
2020-09-08 09:34:03 +03:00
alesapin
405a204514
Lower timeout for TTL merges
2020-09-08 09:33:00 +03:00
alesapin
f4846e2ef1
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
...
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2020-09-08 09:30:54 +03:00
bharatnc
806334a642
StorageReplicatedMergeTree - add integration tests that test dir cleanup
...
This adds a integration test that tests if table directory is cleaned
up after a ZooKeeper connection failure for ReplicatedMergeTree tables.
2020-09-07 22:32:01 -07:00
bharatnc
0c00b992d5
StorageReplicatedMergeTree - cleanup data dir after Zk exceptions
...
It's possible for `getZooKeeper()` to timeout if zookeeper host(s) can't
be reached. In such cases `Poco::Exception` is thrown after a connection
timeout - refer to `src/Common/ZooKeeper/ZooKeeperImpl.cpp:866` for more info.
Side effect of this is that the CreateQuery gets interrupted and it exits.
But the data Directories for the tables being created aren't cleaned up.
This unclean state will hinder table creation on any retries and will
complain that the Directory for table already exists.
To achieve a clean state on failed table creations, catch this error if
the exception is of type Poco::Exception and call `dropIfEmpty()` method,
then proceed throwing the exception. Without this, the Directory for the
tables need to be manually deleted before retrying the CreateQuery.
2020-09-07 18:09:09 -07:00
Artem Zuikov
7373aaf465
add IsOperation helper
2020-09-08 03:59:13 +03:00
Anton Popov
ee218c354e
fix segfault in combinator -Resample
2020-09-08 02:21:12 +03:00
alexey-milovidov
1076a42cf5
Merge pull request #14549 from ClickHouse/lower-binary-size-in-debug
...
Lower binary size in debug build
2020-09-08 01:20:44 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
bharatnc
7b89adb10d
use std::filesystem::path in ConfigProcessor
...
This PR improves the way the ClickHouse config path,
preprocessed_configs path etc are being joined inside
`ConfigProcessor.cpp`.
Uses `std::filesystem::path` to join the paths instead of
standard string concatenation. This would improve path concatenation.
Current method of concatenation results in:
```bash
➜ clickhouse-server ls -latr
total 68
-rw-r--r-- 1 root root 5587 Aug 31 05:00 users.xml
drwxr-xr-x 143 root root 12288 Sep 7 11:23 ..
lrwxrwxrwx 1 root root 41 Sep 7 11:23 preprocessed -> /var/lib/clickhouse//preprocessed_configs
drwxr-xr-x 2 root root 4096 Sep 7 11:23 users.d
-rw-r--r-- 1 root root 34252 Sep 7 11:28 config.xml
drwxr-xr-x 4 root root 4096 Sep 7 11:28 .
drwxr-xr-x 2 root root 4096 Sep 7 11:28 config.d
```
The symlink `/var/lib/clickhouse//preprocessed_configs` will still work.
amd this PR is an improvement to the current method of path
concatenation.
2020-09-07 12:45:52 -07:00
Alexey Milovidov
42d201b2a0
Lower binary size in "Arcadia" build
2020-09-07 21:47:36 +03:00