Vladimir Chebotarev
|
3c2ddc5a81
|
Improved check for parts on different disks.
|
2019-12-27 21:58:59 +03:00 |
|
Alexey Milovidov
|
cb3a5b26f7
|
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
|
2019-12-27 21:12:30 +03:00 |
|
alexey-milovidov
|
d2e5827307
|
Merge pull request #8410 from excitoon-favorites/ttlcheckvaliddeestination
Added check for valid destination in a move TTL rule
|
2019-12-27 00:29:55 +03:00 |
|
alexey-milovidov
|
89eeaa50e9
|
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
|
2019-12-26 22:16:50 +03:00 |
|
alexey-milovidov
|
1adc3cfb88
|
Merge pull request #8118 from excitoon-favorites/scan_all_disks
Check extra parts of `MergeTree` at different disks, in order to not allow to miss data parts at undefined disks
|
2019-12-26 22:10:53 +03:00 |
|
alexey-milovidov
|
938100dbe2
|
Update MergeTreeData.cpp
|
2019-12-26 22:10:04 +03:00 |
|
Vladimir Chebotarev
|
64b2b18d5b
|
Added a check for bad disk/volume as a destination of move TTL expression.
|
2019-12-26 18:04:55 +03:00 |
|
alesapin
|
093d56f474
|
Merge pull request #8382 from ClickHouse/relative_paths_in_storages
Use relative paths in Storages
|
2019-12-26 13:05:37 +03:00 |
|
Vladimir Chebotarev
|
c4e9784464
|
Fixed skipping parts algorithm while checking parts on other disks.
|
2019-12-26 01:12:17 +03:00 |
|
Vladimir Chebotarev
|
ab5171f403
|
Fixed tests.
|
2019-12-25 23:32:15 +03:00 |
|
Vladimir Chebotarev
|
29068663ea
|
Fixed build.
|
2019-12-25 23:32:15 +03:00 |
|
Vladimir Chebotarev
|
80056551ce
|
Check extra parts of MergeTree at different disks, in order to not allow to miss data parts at undefined disks.
|
2019-12-25 23:32:15 +03:00 |
|
alesapin
|
05b933b1d3
|
Better
|
2019-12-24 21:07:51 +03:00 |
|
Alexander Tokmakov
|
514868cebc
|
use relative paths in IStorage::rename(...)
|
2019-12-24 16:35:50 +03:00 |
|
alesapin
|
25ecc38615
|
More correct separation between metadata and data alters for non replicated MergeTree.
|
2019-12-23 19:44:50 +03:00 |
|
Alexander Tokmakov
|
5fab732408
|
use arbitrary relative path in *MergeTree
|
2019-12-23 18:37:55 +03:00 |
|
alesapin
|
b2979546c3
|
Fix mutation number by default
|
2019-12-17 15:23:17 +03:00 |
|
alexey-milovidov
|
399995d60b
|
Merge pull request #7812 from infinivision/fix_part_mutation
fix part mutation
|
2019-12-13 03:45:59 +03:00 |
|
Alexander Burmak
|
1f69a7a015
|
Fixed merge issues
|
2019-12-12 14:10:18 +03:00 |
|
Alexander Burmak
|
2ce6136de5
|
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs
|
2019-12-12 12:10:50 +03:00 |
|
Vladimir Chebotarev
|
0ff0a52249
|
Missed review fixes.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
7fd1668fde
|
Review fixes.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
e3ed311273
|
Fixed Clang build.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
67aa268bbb
|
Finally fixed tests and logic for extended TTL syntax.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
f83b28a1c1
|
Fixed a typo in MergeTreeData::selectMoveDestination() .
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
618a39cc8c
|
Don't move anything if part already belongs their destination.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
8ed37801ca
|
Finally fixed selection of destination of move TTL.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
15fb64f54b
|
Fixed move TTL expiration logic.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
df002f20b1
|
Fixed move TTL metadata.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
14cf530542
|
Added move TTL rules to metadata of ReplicatedMergeTree .
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
7407f7c39d
|
Placed move TTL rules to a vector.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
ce851fc782
|
Fixed MergeTreeData::hasTableTTL() method according to extended TTLs.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
62016feab0
|
Renamed TTLDestinationType to PartDestinationType.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
ce066d3bb0
|
Style fixes.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
88c7220256
|
Fixed Clang build.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
342ea5c30a
|
Removed TODO comments.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
58e824b6a1
|
Refactored, added move enforcement on merges, fixed a bug with wrong disk selection in ReplicatedMergeTree .
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
575de5ada6
|
Attempt to add background moves by TTL expressions.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
33ded274a3
|
First attempt to store min/max for move ttl expressions.
|
2019-12-11 13:24:20 +03:00 |
|
Vladimir Chebotarev
|
3e984609fb
|
Fixed ClickHouse after changing syntax.
|
2019-12-11 13:24:20 +03:00 |
|
Zhichang Yu
|
ff1b8d46e2
|
fixed part mutation, added test_backup_restore integration test case
|
2019-12-11 09:31:37 +08:00 |
|
Vladimir Chebotarev
|
269a0246aa
|
Added explicit check for existence of part and pair of log messages.
|
2019-12-10 12:47:23 +03:00 |
|
Vladimir Chebotarev
|
6afd8d7805
|
Added test_multiple_disk::test_kill_while_insert , reworked log message and fixed logic of treating stale copies.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
a2f238d8da
|
Added more logging and switched to detaching stale part instead of removing.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
9cf7ef03af
|
Fixed handling of MergeTreeData::DataPartPtr 's in MergeTreeData::swapActivePart() .
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
374e0f7bb5
|
Finally fixed tests.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
c283776e84
|
Really fixed tests.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
89659a9129
|
Fixed a typo.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
fe3e89fb38
|
Fixed tests.
|
2019-12-09 23:29:44 +03:00 |
|
Vladimir Chebotarev
|
efa73608b8
|
Separated constant path to DeleteOnDestroy marker.
|
2019-12-09 23:29:44 +03:00 |
|