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 |
|
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 |
|
Vladimir Chebotarev
|
13c5c621c1
|
Attempt to ignore redundant copies of parts after move and restart.
|
2019-12-09 23:29:44 +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 |
|
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 |
|
Vladimir Chebotarev
|
2b4f6af736
|
Fixed errors with space reservation introduced in #7558 and #7602.
|
2019-11-21 12:09:43 +03:00 |
|
Vladimir Chebotarev
|
5cbbcd9cdb
|
Added disk info to system.detached_parts .
|
2019-11-19 09:44:10 +03:00 |
|
alexey-milovidov
|
b261e6033a
|
Merge pull request #7602 from excitoon-favorites/cloneAndLoadDataPartOnSameDisk
Made `MergeTreeData::cloneAndLoadDataPart` only work for the same disk.
|
2019-11-04 14:42:30 +03:00 |
|
Vladimir Chebotarev
|
e76bbfc5ad
|
Made MergeTreeData::cloneAndLoadDataPart only work for the same disk.
|
2019-11-04 01:27:05 +03:00 |
|
Alexander Burmak
|
9b8fc9a899
|
Fixed missing file name escaping in FREEZE command
|
2019-11-01 16:17:08 +03:00 |
|
Amos Bird
|
2c75a51d4f
|
Instant count() for MergeTree
Use (Replicated)MergeTree's metadata to do trivial count()
|
2019-10-29 17:45:47 +08:00 |
|
alesapin
|
5d8d1df802
|
Merge pull request #7434 from excitoon-favorites/fix-7424
Allowed to have some parts on destination disk or volume in MOVE PARTITION
|
2019-10-24 19:45:22 +03:00 |
|
Vladimir Chebotarev
|
64f158ff28
|
Fixed message for ALTER MOVE PART.
|
2019-10-24 13:56:32 +03:00 |
|
Vladimir Chebotarev
|
255da8f5e0
|
Fixed style.
|
2019-10-24 12:11:06 +03:00 |
|
Vladimir Chebotarev
|
3debdc2119
|
Added integration tests for ALTER MOVE PARTITION and fixed minor things.
|
2019-10-24 11:52:33 +03:00 |
|
Colum
|
a413770a97
|
Fixed spelling error in error message
|
2019-10-22 10:02:51 -07:00 |
|
Vladimir Chebotarev
|
9446fd2c4d
|
Allowed to have some parts on destination disk or volume in MOVE PARTITION. #7424
|
2019-10-22 17:45:01 +03:00 |
|
tavplubix
|
0046b9f137
|
Wait for jobs to finish on exception (fixes rare segfaults) (#7350)
|
2019-10-17 17:41:27 +03:00 |
|
Vladimir Chebotarev
|
512e97ddb3
|
Improved readability a little bit (MergeTreeData::getActiveContainingPart ).
|
2019-10-16 22:01:50 +03:00 |
|
alesapin
|
4e83f65089
|
Fix bug with segmentation fault in ATTACH PART query
|
2019-10-03 21:07:47 +03:00 |
|
Vladimir Chebotarev
|
e79a15c39c
|
Fixed time calculation in MergeTreeData .
|
2019-10-02 10:46:53 +03:00 |
|
Alexey Milovidov
|
42b739550b
|
Renamed "storage_policy_name" to "storage_policy"
|
2019-09-20 23:35:50 +03:00 |
|
alesapin
|
b0fce77c3d
|
Fix path to data on disk
|
2019-09-11 20:17:10 +03:00 |
|
alesapin
|
0b8aec469f
|
Make absolute path on disks start from /clickhouse/data, fix freeze and rename, add tests
|
2019-09-11 13:57:32 +03:00 |
|
alesapin
|
34a454aa62
|
Remove redundant code, that caused race for part object
|
2019-09-10 20:17:10 +03:00 |
|
alesapin
|
5a45265344
|
Create global dir
|
2019-09-10 17:32:32 +03:00 |
|
alesapin
|
65851e27d0
|
Fix freeze partition
|
2019-09-10 16:06:26 +03:00 |
|
alesapin
|
ac4ab3ca2b
|
Fix rename bug
|
2019-09-10 15:23:18 +03:00 |
|