Vitaly Baranov
debcc2e610
Fix test test_mutation
2024-07-31 12:31:52 +02:00
Vitaly Baranov
634c513ba7
Fix cleanup in test_backup_restore_on_cluster/test.py::test_system_functions
2024-07-29 13:19:24 +02:00
Vitaly Baranov
faae8a4f2b
Add tests for backup on cluster with 2 shards and 2 replicas.
2024-04-26 10:10:45 +02:00
Vitaly Baranov
e42967c724
Add test.
2024-04-20 16:48:26 +01:00
Vitaly Baranov
3012e4bc27
Merge pull request #62207 from vitlibar/fix-restoring-parts-while-readonly
...
Fix restoring parts while readonly
2024-04-05 13:57:27 +02:00
Vitaly Baranov
44fa62c0a4
Add test.
2024-04-02 23:44:49 +02:00
Nikita Fomichev
33e3d831f8
integration tests: add test test_replicated_database_compare_parts
2024-03-26 17:55:37 +01:00
Nikita Fomichev
31cd44457f
integration tests: fix flaky tests
2024-03-26 17:55:37 +01:00
Nikita Fomichev
f7b100a885
Integration tests: fix flaky tests
2024-03-23 20:01:26 +01:00
Vitaly Baranov
79c068571d
Fix test test_stop_other_host_during_backup.
2024-01-31 12:58:22 +01:00
Azat Khuzhin
56dca144cc
Fix test_backup_restore_on_cluster/test.py::test_stop_other_host_during_backup flakiness
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-20 07:09:51 +02:00
Vitaly Baranov
7b9d6c4b96
Add test.
2023-08-23 23:33:51 +02:00
robot-clickhouse
5b0b5284c5
Automatic style fix
2023-08-06 12:57:48 +00:00
Alexey Milovidov
ce2fcc8f33
Fix wording
2023-08-06 14:48:20 +02:00
Michael Kolupaev
97e54d6eba
Fix test_backup_restore_on_cluster flakiness caused by missing replica syncs
2023-07-20 15:57:29 +00:00
Vitaly Baranov
1ec5304957
Fix multiple writing of same file to backup ( #51299 )
...
* Fix writing the same file multiple times to backup.
* Add test.
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 12:11:18 +02:00
Alexander Tokmakov
83b12ec5ca
replace NO DELAY with SYNC in tests
2023-05-03 20:08:49 +02:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer"
2023-04-13 01:32:19 +03:00
lzydmxy
b88fef12de
update Failed tests
2023-04-07 23:57:08 +08:00
Nikita Mikhaylov
fa5b2bd4a5
Added Keeper retries for backups operations ( #47224 )
2023-04-04 18:12:08 +02:00
Vitaly Baranov
481a7a76ac
Simplify backup coordination for file infos ( #48095 )
...
* Remove obsolete code for archive suffixes.
* Simplify backup coordination, stop using it for restoring.
* Build all file infos before writing to backup. Decrease number of znodes.
* Split long values before writing to ZooKeeper.
* Use separate mutexes for unrelated activities.
* Make test test_disallow_concurrency less flaky.
* Add comments and test for backup_keeper_value_max_size.
2023-03-29 15:19:40 +02:00
Aleksei Filatov
cf6ca10c83
Tests for replicated system.functions
2023-03-17 13:56:05 +03:00
Vitaly Baranov
5c1f490b3a
Implement referential dependencies for table engine "Distributed"
...
and for functions cluster() and clusterAllReplicas().
2022-12-13 11:09:42 +01:00
Vitaly Baranov
dc25f18f13
Fix flaky integration test test_async_backups_to_same_destination.
2022-08-03 14:22:09 +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
4c98a7bc0f
Add test for Ordinary database.
2022-07-26 08:46:51 +02:00
Vitaly Baranov
6174fe1d72
Fix tests.
2022-07-22 18:33:46 +02:00
Vitaly Baranov
619e22fe57
Add tests for shutdown during backup.
2022-07-21 12:01:16 +02:00
Vitaly Baranov
ad115a9a3d
Merge pull request #39254 from vitlibar/backup-checks-destination-not-in-use
...
Check that the destination for a backup is not in use.
2022-07-18 15:19:43 +02:00
Vitaly Baranov
ef3a24d20f
Fix tests.
2022-07-15 15:44:29 +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
847cda87f9
BACKUP/RESTORE ON CLUSTER use async mode on replicas now.
2022-07-08 22:26:01 +02:00
Vitaly Baranov
43d35eec1b
Write unfinished mutations to backup.
2022-07-05 14:51:09 +02:00
Vitaly Baranov
efbee5e723
Improve gathering metadata for backup - part 7.
2022-06-30 08:37:17 +02:00
Vitaly Baranov
7689e0c36f
Improve gathering metadata for backup - part 6.
2022-06-30 08:37:17 +02:00
Vitaly Baranov
47ac47350b
Store projections in backups.
2022-06-30 08:37:17 +02:00
Vitaly Baranov
8a7c970ce0
Fix style.
2022-06-19 15:58:26 +02:00
Vitaly Baranov
b0d19328b8
Add test for ReplicatedAccessStorage.
2022-06-19 14:14:41 +02:00
Vitaly Baranov
01aaaf7395
More accurate access checking for RESTORE.
2022-06-19 11:26:41 +02:00
Vitaly Baranov
ce1836f0d2
Lock tables for share before backup and restore.
2022-06-15 20:28:43 +02:00
Vitaly Baranov
131382e025
Fix async tests.
2022-06-15 20:28:42 +02:00
Vitaly Baranov
c1baad0763
Fix style.
2022-05-15 14:09:42 +02:00
Vitaly Baranov
23322b0bf6
Add async tests.
2022-05-12 19:42:05 +02:00
Vitaly Baranov
2c92fe21a9
Implement restoring to a bigger or smaller cluster.
...
Remove backup settings allow_storing_multiple_replicas: now it's always allowed.
2022-05-12 14:55:06 +02:00
Vitaly Baranov
30005a1eff
BACKUP ON CLUSTER correctly collects data of a replicated table from all replicas now,
...
and if some part doesn't exist on either replica it's no problem anymore.
2022-05-12 13:33:42 +02:00
Vitaly Baranov
202dd864ed
Fix compilation.
2022-05-03 18:34:29 +02:00
Vitaly Baranov
484c2c9c4a
Use SYSTEM SYNC DATABASE REPLICA to make code better.
2022-05-03 16:59:41 +02:00
Vitaly Baranov
828f45f078
Add new restore setting 'allow_non_empty_tables'.
2022-05-03 16:18:45 +02:00