Alexey Milovidov
9d75ab2023
Fix integration tests
2024-02-27 00:54:20 +01:00
Alexey Milovidov
6c9e7073c7
Fix varieties and curiosities
2024-02-22 10:06:38 +01:00
Alexey Milovidov
7ad8644349
Fix integration tests
2024-02-21 19:36:07 +01:00
Alexey Milovidov
6f571c6ae9
Fix integration tests
2024-02-21 19:32:06 +01:00
Vitaly Baranov
4c6d3e7efa
Add server settings "shutdown_wait_backups_and_restores" (default=true)
...
to set whether shutdown should wait for running backups to finish or just cancel them.
2024-01-18 13:27:14 +01:00
Vitaly Baranov
085833aaae
Use special statuses BACKUP_CANCELLED and RESTORE_CANCELLED in system.backups
2024-01-16 15:07:24 +01:00
Vitaly Baranov
185f6cc37c
Add tests for cancelling backup/restore queries.
2024-01-16 15:07:20 +01:00
Vitaly Baranov
21a283049c
Add the test for clickhouse_backupview to CI.
2023-11-15 17:40:53 +01:00
Victor Krasnov
9c315490f7
Align test_backup_restore_new::test_backup_all[True] with backup_log
2023-09-03 15:04:23 +03:00
Alexey Milovidov
ce2fcc8f33
Fix wording
2023-08-06 14:48:20 +02:00
Vitaly Baranov
fd2731845c
Simplify interface of IBackupWriter: Remove supportNativeCopy() function.
2023-05-16 14:25:36 +02:00
Vitaly Baranov
478140f8b4
Fix LimitSeekableReadBuffer.
2023-05-11 22:58:05 +02:00
Alexander Tokmakov
83b12ec5ca
replace NO DELAY with SYNC in tests
2023-05-03 20:08:49 +02:00
Vitaly Baranov
39705ee205
Fix flaky test test_backup_all[True].
2023-04-14 18:00:52 +02:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer"
2023-04-13 01:32:19 +03:00
Anton Popov
1520f3e924
Merge pull request #48335 from lzydmxy/check_sample_dict_key_is_correct
...
Check simple dictionary key is native unsigned integer
2023-04-12 14:27:39 +02:00
lzydmxy
b88fef12de
update Failed tests
2023-04-07 23:57:08 +08:00
Vitaly Baranov
d73df94a56
Update test.py
2023-04-04 20:20:46 +02:00
Nikita Mikhaylov
fa5b2bd4a5
Added Keeper retries for backups operations ( #47224 )
2023-04-04 18:12:08 +02:00
Vitaly Baranov
225fee16dc
Fix test "test_backup_all" and add more test cases.
2023-04-01 19:46:59 +02:00
Vitaly Baranov
42c2ccb7cc
Support BACKUP ALL command.
2023-03-30 00:11:13 +02:00
Vitaly Baranov
2d38c89e2a
Fix test test_async_backups_to_same_destination.
2023-02-25 23:38:40 +01:00
Vitaly Baranov
4a3ad7da85
Fix test test_backup_restore_new/test.py::test_async_backups_to_same_destination[http].
2023-02-15 17:27:05 +01:00
Vitaly Baranov
3db9d58fcf
Added test.
2023-02-07 23:46:48 +01:00
Vitaly Baranov
45d2d678ab
Merge pull request #45800 from vitlibar/rename-new-columns-in-system-backups
...
Rename new columns in system.backups
2023-02-03 14:00:16 +01:00
Vitaly Baranov
96b140cc95
Rename columns in system.backups: num_files, num_processed_files, processed_files_size
...
num_processed_files -> num_files (BACKUP) / files_read (RESTORE)
processed_files_size -> total_size (BACKUP) / bytes_read (RESTORE)
2023-01-31 22:45:41 +01:00
Pradeep Chhetri
deaa70fb14
Merge branch 'master' into pchhetri/fix-45690
2023-01-30 21:35:16 +08:00
Pradeep Chhetri
d52c841d7d
Fix test
2023-01-29 11:35:00 +08:00
Pradeep Chhetri
18cf0fd2c1
Fix test
2023-01-29 10:29:10 +08:00
Pradeep Chhetri
65301cf55a
Format fixes
2023-01-29 09:03:51 +08:00
Pradeep Chhetri
0e02f82665
Add test for zip archive with bad settings
2023-01-29 08:40:24 +08:00
Aleksandr Musorin
838acb22b7
added num_processed_files and processed_files_size
2023-01-20 10:20:41 +01:00
Vitaly Baranov
5aaff60650
Fix referential dependencies when host & post in a clickHouse dictionary source are set by default.
2022-12-12 18:22:14 +01:00
Vitaly Baranov
76ba8ab3d4
Add new tests.
2022-12-12 18:22:09 +01:00
Vitaly Baranov
e1f7f04752
Referential dependencies for RESTORE ( #43834 )
...
* Rename DDLDependencyVisitor -> DDLLoadingDependencyVisitor.
* Move building a loading graph to TablesLoader.
* Implement referential dependencies for tables and use them
when restoring tables from a backup.
* Remove StorageID::operator < (because of its inconsistency with ==).
* Add new tests.
* Fix test.
* Fix memory leak.
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-12-02 15:05:46 +01:00
Azat Khuzhin
94566abda9
Fix reusing of files > 4GB from base backup
...
Previosly u64 numbers was truncated to u32 numbers during writing to the
mdatadata xml file, and further incremental backup cannot reuse them,
since the file in base backup is smaller.
P.S. There can be other places, I thought about enabling
-Wshorten-64-to-32, but there are lots of warnings right now.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-07 14:56:09 +02:00
Alexey Milovidov
13a129bee7
Merge branch 'master' into remove-useless-line
2022-09-04 03:24:40 +02:00
Vitaly Baranov
007ae0e6cc
Fix incremental backups for Log family.
2022-08-31 12:57:28 +02:00
Alexey Milovidov
b42d26acfe
Remove one line from XML, because we do not care
2022-08-28 02:44:02 +02:00
alesapin
704d7fdc41
Fix copy and use disks
2022-08-21 18:18:35 +02:00
Vitaly Baranov
dc25f18f13
Fix flaky integration test test_async_backups_to_same_destination.
2022-08-03 14:22:09 +02:00
Vitaly Baranov
794eeb5d51
Split "total_size" to "uncompressed_size" and "compressed_size".
2022-07-27 10:36:56 +02:00
Vitaly Baranov
a79fc17235
Add test for system.backups
2022-07-27 09:04:10 +02:00
Vitaly Baranov
51a2bf33e8
Rename backup statuses to CREATING_BACKUP, BACKUP_CREATED, BACKUP_FAILED, RESTORING, RESTORED, RESTORE_FAILED.
2022-07-27 09:04:10 +02:00
Vitaly Baranov
fc16a15ecf
Rename column "uuid" -> "id" in system.backups and allow user to set it in a query.
2022-07-27 09:04:10 +02:00
Vitaly Baranov
131019ba49
Rename column "backup_name" -> "name" in system.backups.
2022-07-27 09:04:10 +02:00
Vitaly Baranov
6174fe1d72
Fix tests.
2022-07-22 18:33:46 +02:00
Vitaly Baranov
2f47be5da7
Check that the destination for a backup is not in use.
2022-07-15 13:34:58 +02:00
Vitaly Baranov
43d35eec1b
Write unfinished mutations to backup.
2022-07-05 14:51:09 +02:00
Vitaly Baranov
e367d96964
Fix style.
2022-06-30 15:10:33 +02:00