Vladimir Chebotarev
|
37bebd1370
|
Improved BackgroundProcessingPool to use with background moves task.
|
2019-11-26 16:09:57 +03:00 |
|
Vladimir Chebotarev
|
e96c24786b
|
Separated pool for background moves.
|
2019-11-26 16:08:59 +03:00 |
|
Guillaume Tassery
|
d97034fe4e
|
Merge branch 'master' of https://github.com/yandex/ClickHouse into move_partition
|
2019-11-12 06:54:50 +01:00 |
|
Guillaume Tassery
|
9da8cbbb77
|
fix build
|
2019-11-12 04:34:34 +01:00 |
|
Guillaume Tassery
|
5994d551a6
|
rebase from master
|
2019-11-07 08:38:55 +01:00 |
|
alesapin
|
8c7deaa70d
|
More safier, but still ugly mutations interpreter
|
2019-11-06 20:28:03 +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 |
|
Nikolai Kochetov
|
a80338e066
|
Merged with master
|
2019-10-31 14:41:29 +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 |
|
Guillaume Tassery
|
3dee295f9a
|
Set neutral lock
|
2019-10-22 09:15:58 +02:00 |
|
Guillaume Tassery
|
d38bc27c05
|
put back lock
|
2019-10-22 08:30:51 +02:00 |
|
Guillaume Tassery
|
552e3b8400
|
update
|
2019-10-22 08:03:49 +02:00 |
|
Nikolai Kochetov
|
2893c35930
|
Merged with master.
|
2019-10-21 18:33:44 +03:00 |
|
Nikolai Kochetov
|
f7d2e1b758
|
Added Pipe class. Updated MergeTreeDataSelectExecutor.
|
2019-10-21 18:16:08 +03:00 |
|
tavplubix
|
0046b9f137
|
Wait for jobs to finish on exception (fixes rare segfaults) (#7350)
|
2019-10-17 17:41:27 +03:00 |
|
Guillaume Tassery
|
145df0bb65
|
Fix lock
|
2019-10-11 08:11:53 +02:00 |
|
Nikolai Kochetov
|
95ec0f7c2d
|
Merged with master.
|
2019-10-04 20:53:21 +03:00 |
|
Guillaume Tassery
|
0f66da0e91
|
Resolve lock issue after review
|
2019-10-04 06:37:19 +02:00 |
|
Nikita Mikhaylov
|
0e9cad2276
|
fix datarace in stress test in storagemergetree
|
2019-10-01 21:04:42 +03:00 |
|
Guillaume Tassery
|
acaa9cdbad
|
Rename move partition to partition_expr to move partition to table partition_expr
|
2019-09-17 13:59:09 +02:00 |
|
Guillaume Tassery
|
713cc6c825
|
Add lock before every function call
|
2019-09-17 11:00:20 +02:00 |
|
Guillaume Tassery
|
3ac8f52dd8
|
call CloneAndLoadDataPart on database dest
|
2019-09-17 08:12:27 +02:00 |
|
Guillaume Tassery
|
a47f0b1a60
|
cleanup partition after moving it
|
2019-09-16 10:56:30 +02:00 |
|
Guillaume Tassery
|
8920f36d96
|
merge master
|
2019-09-16 09:27:38 +02:00 |
|
Guillaume Tassery
|
ae8db96415
|
Fix move partition for storage merge tree
|
2019-09-16 06:17:37 +02:00 |
|
Nikolai Kochetov
|
3c53dfd227
|
Add processors to StorageMergeTree [WIP].
|
2019-09-13 18:41:09 +03:00 |
|
Guillaume Tassery
|
2402e84bfc
|
Merge branch 'master' of github.com:PerformanceVision/ClickHouse into move_partition
|
2019-09-13 11:20:40 +02:00 |
|
alesapin
|
189644e743
|
Better logging
|
2019-09-09 20:01:19 +03:00 |
|
alesapin
|
ab518d7787
|
Split code to parts
|
2019-09-05 18:53:23 +03:00 |
|
alesapin
|
f576cbb8a4
|
Simplify code
|
2019-09-05 16:12:29 +03:00 |
|
alesapin
|
c003f443f9
|
Refactor
|
2019-09-04 20:26:53 +03:00 |
|
alesapin
|
13bbae5860
|
Remove trash
|
2019-09-04 19:00:20 +03:00 |
|
alesapin
|
a4c3937153
|
Small refactoring
|
2019-09-04 16:24:55 +03:00 |
|
alesapin
|
8b6abab486
|
Merge branch 'master' into ObjatieGroba-feature_multiple_disks
|
2019-09-04 15:41:27 +03:00 |
|
alesapin
|
e6e6c11ba3
|
Better test and NOTHING_TO_DO
|
2019-09-03 20:06:36 +03:00 |
|
alesapin
|
52442cf549
|
Add system stop moves query
|
2019-09-03 17:50:49 +03:00 |
|
alesapin
|
48004e9b7b
|
Style fixes
|
2019-09-03 15:25:58 +03:00 |
|
alesapin
|
8d76febe02
|
Add moves to part log
|
2019-09-03 14:32:25 +03:00 |
|
alesapin
|
f0c5ee5877
|
Merge with master
|
2019-09-02 20:34:18 +03:00 |
|
alesapin
|
198031f787
|
Refactoring
|
2019-09-02 14:35:53 +03:00 |
|
Guillaume Tassery
|
f727580483
|
Merge branch 'master' of https://github.com/yandex/ClickHouse into move_partition
|
2019-09-02 08:45:52 +02:00 |
|
alesapin
|
1813b96f82
|
Finally build, possible trash.
|
2019-08-29 19:17:47 +03:00 |
|
zhang2014
|
74c9eea657
|
fix test failure
|
2019-08-29 11:34:00 +08:00 |
|
zhang2014
|
3c7405bdb0
|
move test to integration & refer max_expanded_ast_elements
|
2019-08-29 11:31:22 +08:00 |
|
zhang2014
|
92740212b5
|
fix build failure
|
2019-08-29 11:15:15 +08:00 |
|
zhang2014
|
6c3626b629
|
truncate should remove mutations
|
2019-08-29 11:14:40 +08:00 |
|
zhang2014
|
54b65bac50
|
fix max_ast_elements settings with merge mutation
|
2019-08-29 11:06:35 +08:00 |
|
Alexey Milovidov
|
285d66cee1
|
Improve table locks (incomplete)
|
2019-08-27 23:43:08 +03:00 |
|
alesapin
|
7851d8fe0a
|
Add ability to alter settings with other types of alter
|
2019-08-27 12:34:53 +03:00 |
|
Guillaume Tassery
|
6f5969e1b5
|
Merge branch 'master' into move_partition
|
2019-08-27 15:54:21 +07:00 |
|
alesapin
|
0d0ebf885f
|
Remove two redundant arguments from alter
|
2019-08-26 17:50:34 +03:00 |
|
alesapin
|
dff0cc1e1c
|
Remove COW and add MultiVersion
|
2019-08-26 17:24:29 +03:00 |
|
alesapin
|
062034dfd8
|
Eventually merged with master
|
2019-08-26 13:07:32 +03:00 |
|
Alexey Milovidov
|
4366791b63
|
Merge branch 'table-constraints' of https://github.com/NanoBjorn/ClickHouse into NanoBjorn-table-constraints
|
2019-08-23 07:49:10 +03:00 |
|
alexey-milovidov
|
7012a421c6
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-08-23 05:22:07 +03:00 |
|
alexey-milovidov
|
3a237b4375
|
Merge pull request #6617 from yandex/fix_too_many_parts_while_mutation_6502
Fix too many parts while mutation
|
2019-08-23 04:27:43 +03:00 |
|
Alexander Tokmakov
|
81022bb3e9
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-08-22 23:38:58 +03:00 |
|
Alexander Tokmakov
|
acce56095f
|
limit number of background threads for mutations
|
2019-08-22 22:35:46 +03:00 |
|
alesapin
|
b9d3d04c57
|
Move tasks in schedule pool
|
2019-08-21 19:02:13 +03:00 |
|
alesapin
|
6b85834ae3
|
Remove excessive logging
|
2019-08-21 16:11:08 +03:00 |
|
alesapin
|
eb5e052855
|
merge and fixes
|
2019-08-21 13:09:29 +03:00 |
|
alesapin
|
70ca7f4156
|
Merge with master
|
2019-08-21 11:57:35 +03:00 |
|
alexey-milovidov
|
308baa182e
|
Merge branch 'master' into table-constraints
|
2019-08-21 06:33:08 +03:00 |
|
Alexey Milovidov
|
295aafb13f
|
Parallel ALTER modify: don't use ThreadPool if the number of threads is one
|
2019-08-20 21:18:37 +03:00 |
|
alesapin
|
9c8ec6e4fc
|
Fixes for replicated merge tree
|
2019-08-20 20:16:32 +03:00 |
|
alesapin
|
00bdd6c680
|
Support move partition
|
2019-08-20 12:59:19 +03:00 |
|
Gleb Novikov
|
86fecc7501
|
Merge branch 'master' into table-constraints
|
2019-08-20 12:17:56 +03:00 |
|
alesapin
|
5690498424
|
Remove excessive logging
|
2019-08-20 11:44:09 +03:00 |
|
Alexey Milovidov
|
5575be034d
|
Whitespaces
|
2019-08-19 22:32:02 +03:00 |
|
Alexey Milovidov
|
22a11343e8
|
Attempt to fix race condition
|
2019-08-19 22:02:20 +03:00 |
|
alesapin
|
e9e67a2688
|
Almost compilable
|
2019-08-19 20:59:16 +03:00 |
|
alesapin
|
4ccdb8f92e
|
Better code
|
2019-08-19 17:40:12 +03:00 |
|
alesapin
|
a85cdc91a6
|
Merge branch 'master' into ObjatieGroba-feature_multiple_disks
|
2019-08-19 11:34:02 +03:00 |
|
alesapin
|
e7542810bb
|
Merge with master
|
2019-08-19 11:20:48 +03:00 |
|
alesapin
|
defc1e30ca
|
Some improvements
|
2019-08-16 18:57:19 +03:00 |
|
alesapin
|
f988ff538b
|
Less code
|
2019-08-15 20:02:04 +03:00 |
|
Nikita Vasilev
|
00a5fe7836
|
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
|
2019-08-15 19:48:57 +03:00 |
|
alesapin
|
d81961c4ca
|
Fix strange code
|
2019-08-15 12:43:31 +03:00 |
|
alesapin
|
e391ce813d
|
refactoring
|
2019-08-14 18:20:52 +03:00 |
|
alesapin
|
949890ee90
|
Merged
|
2019-08-14 12:46:30 +03:00 |
|
alesapin
|
ad81c743c1
|
Buildable code
|
2019-08-13 13:29:31 +03:00 |
|
alesapin
|
428c753ed7
|
Merge with master
|
2019-08-13 11:37:47 +03:00 |
|
Alexey Milovidov
|
ed7db76c94
|
Speed-up parts removal #6372
|
2019-08-11 22:14:42 +03:00 |
|
Gleb Novikov
|
381ea6cb6e
|
Merge branch 'master' into table-constraints
|
2019-08-11 12:38:34 +03:00 |
|
Nikita Vasilev
|
75e381bde4
|
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
|
2019-08-10 23:07:50 +03:00 |
|
kreuzerkrieg
|
112fc71276
|
adding -Wshadow for GCC
|
2019-08-09 23:58:16 +03:00 |
|
Alexander Tokmakov
|
ae6efb23b4
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-08-08 22:31:31 +03:00 |
|
alesapin
|
bca40a8608
|
Better name
|
2019-08-06 19:34:27 +03:00 |
|
alesapin
|
e62101b8e8
|
Better comment
|
2019-08-06 19:29:31 +03:00 |
|
alesapin
|
ca29343f54
|
Uniq settings
|
2019-08-06 17:09:36 +03:00 |
|
alesapin
|
84fd4906ca
|
Changes for engines
|
2019-08-06 16:04:29 +03:00 |
|
alesapin
|
52b9658bcf
|
Merge with master
|
2019-08-06 15:55:12 +03:00 |
|
Nikita Vasilev
|
4a39538625
|
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
|
2019-08-04 16:58:21 +03:00 |
|
CurtizJ
|
82f304f81e
|
add query 'SYSTEM STOP TTL MERGES'
|
2019-08-01 18:36:12 +03:00 |
|
CurtizJ
|
c30bdecf6d
|
add missing comments
|
2019-08-01 15:00:35 +03:00 |
|
CurtizJ
|
f224269d41
|
filter by ttl parts created before 'alter ... modify ttl' query with 'optimize ... final' query
|
2019-08-01 14:10:42 +03:00 |
|
Igr Mineev
|
fc79ed86ef
|
Ready for review
|
2019-08-01 13:29:14 +03:00 |
|
Alexander Tokmakov
|
f0836553d4
|
drop detached partition
|
2019-07-31 18:27:21 +03:00 |
|
Alexander Tokmakov
|
c6717e0d3f
|
refactor attachPartition
|
2019-07-30 22:11:15 +03:00 |
|
Alexander Tokmakov
|
2f33df1b2e
|
rename all parts before attaching
|
2019-07-30 20:24:40 +03:00 |
|
Alexander Tokmakov
|
3c15b87003
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-07-29 14:29:23 +03:00 |
|
alesapin
|
86831fe500
|
Add ability to create immutable settings
|
2019-07-29 14:03:50 +03:00 |
|
Alexander Tokmakov
|
0fc47fbbe4
|
fixes
|
2019-07-29 13:27:37 +03:00 |
|
Guillaume Tassery
|
663ca03d6f
|
Fix style
|
2019-07-29 08:09:36 +02:00 |
|
Nikita Vasilev
|
7efb1bcb12
|
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
|
2019-07-27 10:30:43 +03:00 |
|
Guillaume Tassery
|
c633dfa5c0
|
Use to_database instead of from_database for move partition feature
|
2019-07-26 13:12:18 +02:00 |
|
Guillaume Tassery
|
6fdedfc0e5
|
Cosmetic change for move partition feature
|
2019-07-26 12:04:28 +02:00 |
|
Guillaume Tassery
|
f52fed5cea
|
Let the user able to move a partition to an another table
|
2019-07-26 10:42:17 +02:00 |
|
Alexander Tokmakov
|
3ba26aba43
|
tests
|
2019-07-25 19:28:08 +03:00 |
|
Alexander Tokmakov
|
1805ab5736
|
attach
|
2019-07-25 13:46:07 +03:00 |
|
Igr Mineev
|
549c62a18a
|
Fix build
|
2019-07-25 12:40:20 +03:00 |
|
alesapin
|
f7e0d17490
|
Fix some bugs
|
2019-07-24 18:22:16 +03:00 |
|
alesapin
|
8a00ce5ff1
|
Intermediate step
|
2019-07-24 15:56:39 +03:00 |
|
Alexander Tokmakov
|
6e4aabbb1a
|
draft for StorageMergeTree
|
2019-07-23 23:18:18 +03:00 |
|
Alexander Tokmakov
|
3c2172b750
|
parse and interpret query
|
2019-07-23 22:25:10 +03:00 |
|
Igr
|
3e017ec69c
|
Merge branch 'master' into feature_multiple_disks
|
2019-07-23 16:38:20 +03:00 |
|
Igr Mineev
|
e967c23adb
|
Add Space interface for reservation. Add move to volume command
|
2019-07-23 16:34:17 +03:00 |
|
alexey-milovidov
|
9f9dd040dd
|
Update StorageMergeTree.cpp
|
2019-07-21 17:14:55 +03:00 |
|
Mikhail f. Shiryaev
|
15fd980d0b
|
Add description "unable to select parts" and logging
|
2019-07-21 00:39:40 +02:00 |
|
Igr Mineev
|
52bca488dc
|
Add alter move part command
|
2019-07-18 18:19:03 +03:00 |
|
Igr Mineev
|
21e0bec3d0
|
Merge remote-tracking branch 'upstream/master' into feature_multiple_disks
|
2019-07-16 13:45:07 +03:00 |
|
Gleb Novikov
|
c1d91222d5
|
Ranamed setPrimaryKeyIndicesAndColumns to setProperties
|
2019-07-13 13:42:52 +03:00 |
|
Ivan Lezhankin
|
befb3ce15b
|
Merge branch 'master' into fix-filter-table
|
2019-07-10 13:27:26 +03:00 |
|
Ivan Lezhankin
|
9f01fa7aaa
|
Implement getDatabaseName() and rename() for all storages
|
2019-07-09 18:40:21 +03:00 |
|
alesapin
|
9a17a461ea
|
Review fixes and better tests
|
2019-07-09 12:02:52 +03:00 |
|
Gleb Novikov
|
71c2ca0fe9
|
Merge branch 'master' into table-constraints
|
2019-07-04 22:40:00 +03:00 |
|
alesapin
|
a0496da05f
|
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
|
2019-07-04 12:46:54 +03:00 |
|
alesapin
|
477a7450fb
|
Add test for data corruption
|
2019-07-03 23:51:13 +03:00 |
|
alesapin
|
3925a3bd13
|
Generalize check query
|
2019-07-03 16:17:19 +03:00 |
|
alesapin
|
6b0498cd93
|
First version of check cmd
|
2019-07-03 11:49:52 +03:00 |
|
alexey-milovidov
|
50c22ef71a
|
Merge pull request #5628 from yandex/index_granularity_by_default
Enable adaptive index granularity by default
|
2019-07-03 02:15:33 +03:00 |
|
Gleb Novikov
|
a146b7383e
|
Merge branch 'master' into table-constraints
|
2019-06-30 11:32:02 +02:00 |
|
Nikita Vasilev
|
7b7517ff85
|
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
|
2019-06-24 16:44:44 +03:00 |
|
Igr Mineev
|
23049ac9e8
|
Add mergetree part move in background.
|
2019-06-19 20:56:41 +03:00 |
|
alesapin
|
dd37370aab
|
Fix test and add one
|
2019-06-19 19:16:13 +03:00 |
|
CurtizJ
|
e6dd92f9e1
|
ignore max part size for merge setting while executing mutations
|
2019-06-17 22:41:48 +03:00 |
|
Igr Mineev
|
842c72bb6d
|
Merge branch 'master' into feature_multiple_disks
|
2019-06-09 15:38:54 +03:00 |
|
Gleb Novikov
|
e7293486bd
|
Added ALTER TABLE support to constraints (ADD CONSTRAINT, DROP CONSTRAINT)
|
2019-06-02 17:41:12 +03:00 |
|
Gleb Novikov
|
2b5cf46842
|
Merge branch 'master' into table-constraints
|
2019-06-02 08:33:36 +03:00 |
|
proller
|
1b0d1a4450
|
Info about frozen parts in system.parts (#5471)
* wip
* wip
* wip
* Clean
* fix test
* clean
* fix test
* fix test
|
2019-05-31 07:03:46 +03:00 |
|
Igor Mineev
|
15ee6207ab
|
Chg 'Schema' to 'StoragePolicy'. Add system.disks. Add system.storage_politics. Add disk to system.parts. Add policy to system.tables.
|
2019-05-24 22:03:07 +03:00 |
|
Igor Mineev
|
4f61c9d30f
|
Const Schema fix
|
2019-05-22 22:20:10 +03:00 |
|
Igor Mineev
|
430748bd54
|
Detach path fix
|
2019-05-21 18:42:13 +03:00 |
|
Gleb Novikov
|
ce93896608
|
Added constraints description to MergeTree and related storages
|
2019-05-18 11:05:52 +03:00 |
|
alexey-milovidov
|
88b34999fe
|
Merge pull request #5247 from zhang2014/fix/rename_data_race
fix data race in rename query
|
2019-05-14 22:07:52 +03:00 |
|
Igor Mineev
|
74466de6d8
|
Minor fixes.
|
2019-05-13 23:58:22 +03:00 |
|
zhang2014
|
2206ba464f
|
fix data race in rename query
|
2019-05-13 15:54:38 +08:00 |
|
Igor Mineev
|
6596c3f6e0
|
DataPartsExchange new protocol with data size. StorageReplicatedMergeTree::fetchPartition multipath fix. Choosing on mutate any disk to write mutation file.
|
2019-05-12 17:57:23 +03:00 |
|
Igor Mineev
|
af300c667b
|
Bugfix
|
2019-05-11 23:44:43 +03:00 |
|