Vladimir Chebotarev
|
7de9eb4bdc
|
Do not allow to merge data moving it against storage policy volume order.
|
2020-01-07 10:17:11 +03:00 |
|
alexey-milovidov
|
6830d7fa2d
|
Merge pull request #8440 from excitoon-favorites/bettercheckforpartsonanotherdisks
Improved check for parts on different disks
|
2019-12-29 00:10:47 +03:00 |
|
alesapin
|
9c42801c94
|
Fix stupid bug
|
2019-12-28 12:21:09 +03:00 |
|
Vladimir Chebotarev
|
1ad0c92873
|
Fixed logic error introduced in previous commit.
|
2019-12-28 10:30:12 +03:00 |
|
alesapin
|
fef681acfe
|
Fix style
|
2019-12-27 23:10:30 +03:00 |
|
alesapin
|
5334103690
|
More usage of StorageInMemoryMetadata
|
2019-12-27 22:04:30 +03:00 |
|
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 |
|
alesapin
|
2d40b33120
|
More usage of metadata
|
2019-12-27 19:34:50 +03:00 |
|
alesapin
|
7ad59edf8f
|
Slightly more comments
|
2019-12-27 18:01:41 +03:00 |
|
alesapin
|
6916ac08c2
|
Rename fields
|
2019-12-27 17:46:11 +03:00 |
|
alesapin
|
716648bfa4
|
Something working
|
2019-12-27 17:36:59 +03:00 |
|
alesapin
|
ccb4ad450c
|
Merge branch 'master' into refactor_alter
|
2019-12-27 12:07:20 +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 |
|
alesapin
|
d341b648d2
|
Better alter
|
2019-12-26 21:17:05 +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 |
|