Kseniia Sumarokova
a6b5b7460b
Merge branch 'master' into broken-projections-better-handling
2024-01-10 16:46:18 +01:00
Nikolai Kochetov
7a271f09ed
Check if I can remove KeyCondition analysis on AST.
2024-01-03 17:50:46 +00:00
Alexander Tokmakov
bdada351c8
Revert "Merge pull request #58274 from ClickHouse/revert-58267"
...
This reverts commit 583b9637c2
, reversing
changes made to 224e937620
.
2023-12-28 14:07:59 +01:00
kssenii
234e13ac7e
Merge remote-tracking branch 'origin' into broken-projections-better-handling
2023-12-28 13:44:04 +01:00
Alexey Milovidov
c7efd2afea
Revert #58267
2023-12-28 04:09:33 +01:00
Alexey Milovidov
c024dc9c3d
Merge pull request #58265 from ClickHouse/remove-mayBenefitFromIndexForIn
...
Remove mayBenefitFromIndexForIn
2023-12-28 00:15:04 +01:00
Nikolai Kochetov
bcd34b25b2
Remove mayBenefitFromIndexForIn
2023-12-27 17:42:40 +00:00
Alexander Tokmakov
01d042c490
Revert "Merge pull request #57932 from ClickHouse/remove-shit-cleanup"
...
This reverts commit 2d58dc512c
, reversing
changes made to 41873dc4a3
.
2023-12-27 13:46:06 +01:00
Kseniia Sumarokova
189d0ec147
Merge branch 'master' into broken-projections-better-handling
2023-12-21 17:17:50 +01:00
Jordi Villar
7c281d9a6f
Allow max_size_to_drop settings in query time ( #57452 )
2023-12-19 23:16:03 +01:00
Raúl Marín
f10dae4761
Merge pull request #56917 from Algunenano/backup_1
...
Prepare the introduction of more keeper faults
2023-12-18 10:27:48 +01:00
Alexey Milovidov
ee502ef6b9
Remove trash (OPTIMIZE CLEANUP)
2023-12-15 22:41:58 +01:00
Raúl Marín
9d8d5dfdf6
Partially revert "make stages commit"
...
This reverts commit e4becc01ba
.
2023-12-12 11:26:48 +01:00
Kseniia Sumarokova
7bcc1afa8c
Merge branch 'master' into broken-projections-better-handling
2023-12-04 13:21:57 +01:00
Kseniia Sumarokova
5c3d1b5991
Merge branch 'master' into broken-projections-better-handling
2023-11-30 21:33:35 +01:00
Sema Checherinda
e4becc01ba
make stages commit
2023-11-30 21:13:56 +01:00
Han Fei
7bd2ea3add
Merge branch 'master' into hanfei/statistic
2023-11-27 23:31:23 +01:00
Sema Checherinda
bd36dce81b
Merge pull request #57129 from ClickHouse/fix_something
...
Fix something in ReplicatedMergeTree
2023-11-24 20:19:25 +01:00
Alexander Tokmakov
a0ce9f46cf
fix
2023-11-22 23:15:20 +01:00
kssenii
c0a0431e04
Merge remote-tracking branch 'origin/master' into broken-projections-better-handling
2023-11-21 13:22:30 +01:00
Kseniia Sumarokova
a28d541ba5
Merge branch 'master' into remove-unused-code
2023-11-16 17:17:51 +01:00
kssenii
6c42a3fad6
Better
2023-11-16 16:51:05 +01:00
kssenii
eb7aad0016
Do not consider parts broken if only projections are broken
2023-11-16 12:47:28 +01:00
Alexander Sapin
3e26161eaa
Implement asynchronous excute of ALTER TABLE ... MOVE ... TO DISK|VOLUME
2023-11-15 18:33:59 +01:00
Sema Checherinda
b9cc1580e0
Merge pull request #56367 from canhld94/ch_table_reinit_new_disk
...
Adding new disk to storage configuration without restart
2023-11-14 15:54:22 +01:00
kssenii
876b2cd7bc
Remove unused code
2023-11-13 15:10:57 +01:00
Amos Bird
16578d97a3
Fix two cases of projection analysis.
...
1. Fix projection analysis with partitions.
2. Apply alter conversions during projection analysis.
2023-11-10 10:23:02 +08:00
Duc Canh Le
4c21ba7b6f
tables auto initialize new disks without restart
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-11-06 10:26:48 +00:00
Alexander Tokmakov
480e58b427
fix unexpected parts after drop range
2023-11-03 01:47:50 +01:00
Alexander Sapin
1e0cab93f6
Satisfy tidy
2023-11-01 16:51:20 +01:00
Alexander Sapin
3a1182f6c0
Proper implementation
2023-10-31 18:53:33 +01:00
Han Fei
1237cef26d
address comments
2023-10-31 00:53:46 +01:00
alesapin
20b8954872
Better process broken parts on table start for replicated tables
2023-10-30 23:16:04 +01:00
Han Fei
19cdc6dfe2
Merge branch 'master' into hanfei/statistic
2023-10-30 04:53:18 +01:00
alesapin
0d68a52c06
Merge pull request #50181 from ClickHouse/repro_49887
...
Make exception about `ALTER TABLE ... DROP COLUMN|INDEX|PROJECTION` more clear
2023-10-25 15:57:17 +02:00
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +02:00
Raúl Marín
f799f5d7a1
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-16 15:07:11 +02:00
alesapin
692fcd8422
Merge remote-tracking branch 'origin/master' into repro_49887
2023-10-16 10:39:16 +02:00
alesapin
47d48d81e0
Implement feature
2023-10-13 16:22:18 +02:00
Han Fei
42dc61abf5
Merge branch 'master' into hanfei/statistic
2023-10-12 16:19:45 +02:00
alesapin
e364ed61a6
Proper fix
2023-10-11 17:42:44 +02:00
Raúl Marín
0b9bd809e7
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-11 16:50:22 +02:00
alesapin
ab09aee754
Initial implementation
2023-10-10 19:59:48 +02:00
Raúl Marín
95d2063e91
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-10 17:29:45 +02:00
Nikita Mikhaylov
4456fe40f9
Remove the old code for projection analysis ( #55112 )
2023-10-10 17:13:32 +02:00
Han Fei
fcb19b4f77
Merge branch 'master' into hanfei/statistic
2023-10-09 14:24:58 +02:00
Alexey Milovidov
6e87fa3f67
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove-in-memory-data-parts
2023-09-30 05:12:29 +02:00
Alexey Milovidov
6de0250650
Continue removing in-memory data parts
2023-09-30 03:10:59 +02:00
Alexey Milovidov
d8b5713023
Remove the removal of broken detached parts
2023-09-30 01:47:44 +02:00
Nikita Mikhaylov
804ae4c58b
Better
2023-09-29 11:16:24 +00:00
Han Fei
4e7745f757
Merge branch 'master' into hanfei/statistic
2023-09-26 21:43:53 +02:00
Anton Popov
0ebc22e851
Merge branch 'master' into long-column-names
2023-09-25 16:55:14 +02:00
Nikolai Kochetov
cf40723179
Merge pull request #54895 from amosbird/allow-nullable-primary-keys-for-projections
...
Always allow nullable keys for projections
2023-09-22 19:09:24 +02:00
Amos Bird
973cd5e972
Always allow nullable keys for projections
2023-09-21 22:46:16 +08:00
Anton Popov
4d7ecf39ac
check file collisions on all alters
2023-09-21 14:16:03 +00:00
Azat Khuzhin
c706101891
Fix throttling of BACKUPs from/to S3 (in case native copy was not used)
...
In some cases native copy is not possible, and such requests should be
throttled.
v0: copyS3FileNativeWithFallback
v2: revert v0 and pass write_settings
v3: pass read_settings to copyFile()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-20 18:28:43 +02:00
Han Fei
17243b84ab
Merge branch 'master' into hanfei/statistic
2023-09-19 17:09:17 +02:00
Anton Popov
624782bd8f
Merge remote-tracking branch 'upstream/master' into HEAD
2023-09-18 23:13:20 +00:00
Anton Popov
d94c1b1ec9
add check for collisions in filenames
2023-09-18 22:27:04 +00:00
alesapin
f3729da64b
Fix rare case of CHECKSUM_DOESNT_MATCH error
2023-09-12 19:55:56 +02:00
Vitaly Baranov
8060407c70
Add backup setting "check_parts" and restore setting "restore_broken_parts_as_detached".
2023-09-04 18:54:03 +02:00
Han Fei
f60dad0598
Merge branch 'master' into hanfei/statistic
2023-09-04 16:17:07 +02:00
Han Fei
2330a28f7b
support estimate by stat
2023-09-04 15:51:00 +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
Raúl Marín
45e8185f9b
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-08-29 11:17:34 +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
Raúl Marín
974f72800f
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-07-26 10:35:40 +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
Raúl Marín
d5c332327d
Start cleaning up things
2023-07-11 13:57:51 +02:00
Raúl Marín
f5e0c1bd25
Interpreter: Control number of parallel replicas based on row estimation
2023-07-11 13:57:51 +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