Alexander Tokmakov
|
9389c83d4d
|
Merge branch 'master' into table_name_in_istorage
|
2020-01-13 14:41:42 +03:00 |
|
Guillaume Tassery
|
377d20185e
|
Merge branch 'master' of github.com:ClickHouse/ClickHouse into move_partition
|
2020-01-13 04:16:27 +01:00 |
|
Guillaume Tassery
|
33698588d7
|
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove_partition
|
2020-01-13 04:13:58 +01:00 |
|
alexey-milovidov
|
303b146a93
|
Merge branch 'master' into vfs_log
|
2020-01-12 20:16:30 +03:00 |
|
Guillaume Tassery
|
5f8297b307
|
Remove outdated partition on shutdown
|
2020-01-10 10:46:24 +01:00 |
|
Vladimir Chebotarev
|
99a5830f0a
|
Added a check for existing data on new disk.
|
2020-01-09 16:53:04 +03:00 |
|
Vladimir Chebotarev
|
5e1093faf8
|
Added changing of table policy.
|
2020-01-09 16:52:37 +03:00 |
|
CurtizJ
|
33ae97894b
|
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
|
2020-01-09 15:54:37 +03:00 |
|
Vladimir Chebotarev
|
75e2dbde36
|
Removed fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full but left warnings about not being able to move data according to table-level TTL rules.
|
2020-01-08 23:12:36 +03:00 |
|
Vladimir Chebotarev
|
6f2a4bf5ce
|
Added fallback behavior of reserving space on a volumes with smaller indices when volumes with greater or equal indices are full.
|
2020-01-07 22:26:14 +03:00 |
|
Vladimir Chebotarev
|
7de9eb4bdc
|
Do not allow to merge data moving it against storage policy volume order.
|
2020-01-07 10:17:11 +03:00 |
|
Guillaume Tassery
|
8b2938a8fb
|
Merge branch 'master' into move_partition
|
2020-01-07 13:25:35 +07:00 |
|
Alexander Burmak
|
70b3a1a0d8
|
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log
|
2020-01-02 18:01:41 +03:00 |
|
Alexander Burmak
|
05869e6049
|
Addressed review comments
|
2020-01-02 17:37:31 +03:00 |
|
Alexander Tokmakov
|
250f170a69
|
Merge branch 'master' into table_name_in_istorage
|
2019-12-30 14:08:09 +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 |
|
Alexander Tokmakov
|
a2a155dcbd
|
Merge branch 'master' into table_name_in_istorage
|
2019-12-27 15:47:29 +03:00 |
|
Alexander Tokmakov
|
8987b027ba
|
fixes
|
2019-12-27 15:18:49 +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 |
|
Alexander Tokmakov
|
2e5d61cd81
|
better constructors of storages
|
2019-12-26 20:04:08 +03:00 |
|
Alexander Tokmakov
|
cf5c998b30
|
refactor storage name
|
2019-12-26 19:23:38 +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 |
|
CurtizJ
|
c8393f2c8b
|
fix mutations with mixed-granularity parts
|
2019-12-25 16:05:46 +03:00 |
|
CurtizJ
|
206cb1afa9
|
fix broken by refactoring functionality with wide parts
|
2019-12-25 01:49:39 +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 |
|
CurtizJ
|
ba2a630a13
|
merging with master
|
2019-12-19 16:10:57 +03:00 |
|
CurtizJ
|
9db2f2ccbc
|
Merge remote-tracking branch 'upstream/master' into polymorphic-parts
|
2019-12-19 14:46:43 +03:00 |
|
CurtizJ
|
258e8d61fb
|
polymorphic parts (development) cleanup
|
2019-12-18 19:41:11 +03:00 |
|
CurtizJ
|
59faa4927b
|
polymorphic parts (development) alter update
|
2019-12-18 16:09:58 +03:00 |
|
alesapin
|
b2979546c3
|
Fix mutation number by default
|
2019-12-17 15:23:17 +03:00 |
|
Guillaume Tassery
|
dca0c83809
|
Merge branch 'master' into move_partition
|
2019-12-17 13:49:18 +07:00 |
|
CurtizJ
|
831f39a3df
|
polymorphic parts (development) alter
|
2019-12-16 17:51:19 +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 |
|
CurtizJ
|
26d159e889
|
polymorphic parts (development) alter
|
2019-12-12 21:55:19 +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 |
|
CurtizJ
|
d3b0800a63
|
polymorphic parts (development) alter
|
2019-12-10 00:21:17 +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 |
|
Vladimir Chebotarev
|
13c5c621c1
|
Attempt to ignore redundant copies of parts after move and restart.
|
2019-12-09 23:29:44 +03:00 |
|
Alexander Burmak
|
edd11abad1
|
Addressed code review comments
|
2019-12-08 19:47:51 +03:00 |
|
Alexey Milovidov
|
060e4db596
|
Fixed build
|
2019-12-03 01:37:24 +03:00 |
|
Alexey Milovidov
|
8916b8f2e6
|
Make data skipping indices non-experimental. Make settings about data skipping indices, multiple JOINs and CROSS to INNER JOIN conversion obsolete,
|
2019-11-30 23:41:02 +03:00 |
|
Alexander Burmak
|
e5ffdc0224
|
Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs
|
2019-11-29 18:27:56 +03:00 |
|
Nikolai Kochetov
|
7a32ca057d
|
Merge pull request #7670 from excitoon-favorites/move_pool
Separated pool for background moves
|
2019-11-29 11:08:51 +03:00 |
|
Alexander Burmak
|
3e5ef56644
|
Filesystem abstraction layer
|
2019-11-27 14:33:27 +03:00 |
|
Vladimir Chebotarev
|
c396af7c40
|
Removed check for using Date or DateTime column from TTL expressions.
|
2019-11-27 13:11:17 +03:00 |
|
Vladimir Chebotarev
|
37bebd1370
|
Improved BackgroundProcessingPool to use with background moves task.
|
2019-11-26 16:09:57 +03:00 |
|
Olga Khvostikova
|
47e499d71b
|
Merge pull request #7833 from excitoon-favorites/detachedparts
Added disk info to `system.detached_parts`
|
2019-11-26 11:56:50 +03:00 |
|