Vitaly Baranov
8060407c70
Add backup setting "check_parts" and restore setting "restore_broken_parts_as_detached".
2023-09-04 18:54:03 +02:00
Alexey Milovidov
7cb4d52d92
Deprecate metadata cache, part 2
2023-09-03 03:56:11 +02:00
Azat Khuzhin
51e8b16916
Fix IO throttling during copying whole directories
...
v2: pass local context during ALTER TABLE MOVE PARTITION TO VOLUME/DISK as well
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-29 23:13:46 +02:00
alesapin
3a289534cb
Fxi
2023-08-24 20:48:10 +02:00
alesapin
415b3826e0
Add event for tracking data parts lock
2023-08-24 15:28:38 +02:00
Alexander Tokmakov
376202f739
fix creation of empty parts
2023-08-15 00:26:17 +02:00
Vitaly Baranov
e127d27453
Disable using fs cache for backup/restore #2 .
2023-08-03 13:52:35 +02:00
Azat Khuzhin
d7f7f16fbc
Introduce IStorage::supportsTrivialCountOptimization()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 05:50:44 +02:00
Igor Nikonov
2d33661594
Merge branch 'master' into fix-potentially-bad-code
2023-07-22 22:48:07 +02:00
Nikolai Kochetov
b5cf644668
Check projection metadata the same way we check ordinary metadata. ( #52361 )
...
* Check projection metadata the same way we check ordinary metadata.
* Allow aggregate projection to have empty PK
---------
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-07-21 16:23:04 +03:00
Alexey Milovidov
8cd2e7c7d6
Merge branch 'master' into fix-potentially-bad-code
2023-07-18 22:18:22 +02:00
Alexey Milovidov
e2c8cea381
Merge pull request #51801 from ClickHouse/fix_broken_parts_handling
...
Fix broken parts handling in `ReplicatedMergeTree`
2023-07-09 05:32:51 +03:00
Alexander Tokmakov
fdbd59ec6c
Merge pull request #51135 from ClickHouse/fix_trash_in_disks
...
Try to fix some trash in Disks and part moves
2023-07-07 02:02:17 +03:00
Alexey Milovidov
89788f3d5b
Merge branch 'master' into fix-potentially-bad-code
2023-07-06 02:23:28 +03:00
Alexey Milovidov
69d8923c4c
Merge branch 'master' into fix-potentially-bad-code
2023-07-05 00:46:24 +02:00
Alexey Milovidov
3371e038cf
Merge pull request #51498 from ClickHouse/vdimir/test_alter_moving_garbage_51342
...
Fix `test_alter_moving_garbage`: lock between getActiveContainingPart and swapActivePart in parts mover
2023-07-05 00:32:21 +03:00
Alexander Tokmakov
42222662e6
Merge branch 'master' into fix_broken_parts_handling
2023-07-04 22:46:35 +02:00
Alexander Tokmakov
d987b94ed4
fix the way how broken parts are detached
2023-07-04 20:51:15 +02:00
Alexander Tokmakov
594ec09edf
fix missing metadata_version.txt
2023-06-28 18:19:16 +02:00
vdimir
0b6d367bdb
Parts mover: lock between getActiveContainingPart and swapActivePart
2023-06-27 17:14:49 +00:00
Alexey Milovidov
27f41869a9
Remove code that I don't like
2023-06-25 09:11:42 +02:00
Alexander Tokmakov
220520c516
fix
2023-06-22 21:45:10 +02:00
Alexander Tokmakov
a00842498e
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-19 12:37:17 +02:00
Alexander Tokmakov
b4e455430c
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-17 22:19:21 +03:00
Alexey Milovidov
688d5d59af
Merge branch 'master' into relax-too-many-parts
2023-06-16 23:08:29 +02:00
Nikolai Kochetov
df1ea0b572
Merge pull request #50489 from ClickHouse/vdimir/alter_moving_garbage
...
Cleanup moving parts
2023-06-16 15:39:32 +02:00
Alexander Tokmakov
9260a1bf2e
Merge pull request #51006 from ClickHouse/followup_50448
...
Follow-up to #50448
2023-06-16 15:32:12 +03:00
Alexander Tokmakov
a018d9ca11
try to fix false-positive 'part is lost forever'
2023-06-15 12:25:16 +02:00
Vitaly Baranov
6366940a37
Use hash_of_all_files from system.parts to check identity of parts during on-cluster backups.
2023-06-14 20:39:50 +02:00
Anton Popov
32caf87163
Merge pull request #50104 from amosbird/fix_43107_47549
...
Proper mutation of skip indices and projections
2023-06-12 15:09:18 +02:00
Alexey Milovidov
598501011f
Relax "too many parts" further
2023-06-11 17:51:54 +02:00
vdimir
44c68ffdab
Add config param allow_remove_stale_moving_parts
2023-06-08 10:17:02 +00:00
Alexander Tokmakov
46caffd249
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-07 23:30:02 +03:00
Nikita Mikhaylov
e1ceb01ad0
Parallel replicas for short queries ( #50639 )
2023-06-07 19:45:27 +02:00
vdimir
db1c03d6db
Cleanup moving parts
2023-06-07 13:57:22 +00:00
Alexander Tokmakov
d2aa1779ed
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-07 14:58:50 +02:00
Nikita Mikhaylov
e87348010d
Rework loading and removing of data parts for MergeTree tables. ( #49474 )
...
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-06-06 14:42:56 +02:00
Amos Bird
97bd3f0483
Proper mutation of skip indices and projections
2023-06-04 18:32:08 +08:00
Alexander Tokmakov
e148c60d5a
Fixes for MergeTree with readonly disks ( #50244 )
...
* fixes for MergeTree with readonly disks
* Automatic style fix
* Update test.py
* Automatic style fix
* Update test.py
* Update test.py
* Automatic style fix
* Update test.py
---------
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-06-02 16:18:32 +03:00
Alexander Tokmakov
82e1d5ae67
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-05-30 17:40:13 +02:00
Anton Popov
612173e734
refactoring near alter conversions
2023-05-25 22:54:54 +00:00
Alexander Tokmakov
b8305503d8
more flexible cleanup thread scheduling
2023-05-22 19:07:18 +02:00
Amos Bird
0a3d986e42
Fix reporting projection broken part
2023-05-21 20:58:58 +08:00
Vitaly Baranov
943707963f
Add backup setting "decrypt_files_from_encrypted_disks"
2023-05-16 14:27:27 +02:00
Alexey Milovidov
75a2589a42
Merge branch 'master' into deprecate-in-memory-parts
2023-05-06 00:49:59 +03:00
Anton Popov
e61d7baa54
Merge remote-tracking branch 'upstream/master' into HEAD
2023-05-04 14:03:53 +00:00
Alexey Milovidov
261907c143
Merge branch 'master' into deprecate-in-memory-parts
2023-05-04 01:07:38 +02:00
Nikita Mikhaylov
954e3b724c
Speedup outdated parts loading ( #49317 )
2023-05-03 18:56:45 +02:00
Alexey Milovidov
f449df85b6
Deprecate in-memory parts
2023-05-03 00:31:09 +02:00
Anton Popov
bcdd2307fb
add comments
2023-05-02 11:30:50 +00:00