1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-03 09:59:53 +02:00
Commit Graph

1443 Commits

Author SHA1 Message Date
Grigory Smolkin
d9716e000c tests: added test_locking_restore_locked() and test_locking_concurrent_vaidate_and_backup() 2019-02-19 15:24:57 +03:00
Grigory Smolkin
2329af38bc tests: added test_validate_specific_error_intermediate_backups() 2019-02-18 21:42:56 +03:00
Grigory Smolkin
f7ed67a19e tests: added test_validate_error_intermediate_backups() 2019-02-18 21:27:23 +03:00
Grigory Smolkin
b826a0ae94 PGPRO-1918: be more paranoid in instance validation, orphanize descendants of all not OK backups, not only CORRUPT 2019-02-18 20:38:39 +03:00
Grigory Smolkin
8c9dcbec70 PGPRO-1918: disable wal validation for RUNNING and ERROR backups 2019-02-18 20:16:45 +03:00
Grigory Smolkin
c4259b856b PGPRO-1918 tests: minor fixes 2019-02-18 20:09:09 +03:00
Arthur Zakirov
e91e9d87a6 PGPRO-1918: Check RUNNING 2019-02-18 19:05:45 +03:00
Grigory Smolkin
ac3b0175d4 PGPRO-1918 tests: added test_locking_running_validate_2_specific_id() 2019-02-18 18:16:53 +03:00
Arthur Zakirov
8960f2aae2 PGPRO-1918: Consider lock_backup()'s result 2019-02-18 16:55:46 +03:00
Arthur Zakirov
3b91712e1a Merge remote-tracking branch 'origin/master' into pgpro-1918 2019-02-18 14:48:24 +03:00
Grigory Smolkin
0aa14030f6 tests: added test_tablespace_handling_1() and test_tablespace_handling_2() 2019-02-17 15:34:59 +03:00
Grigory Smolkin
3474784895 tests: rename some locking tests 2019-02-16 15:29:59 +03:00
Grigory Smolkin
119f118af0 tests: minor fix for PGPRO-1918 2019-02-16 15:28:22 +03:00
Grigory Smolkin
6b4f698da0 tests: more tests for backup locking 2019-02-16 15:26:37 +03:00
Grigory Smolkin
7ab3b03060 tests: fix test_ptrack_vacuum_replica() and test_ptrack_vacuum_bits_frozen_replica() 2019-02-15 19:35:51 +03:00
Grigory Smolkin
8e5e62612b tests: minor fix for test_page_backup_with_corrupted_wal_segment() 2019-02-14 18:11:27 +03:00
Grigory Smolkin
fb5046343f tests: in test_minrecpoint_on_replica() wait a bit longer for shared buffer to fill in with dirty data 2019-02-12 20:10:04 +03:00
Grigory Smolkin
8bbf1f44c6 tests: minor fixes and comments for test_minrecpoint_on_replica() 2019-02-12 20:03:44 +03:00
Grigory Smolkin
841e608fa7 PGPRO-2068: tests for block from future 2019-02-12 19:52:52 +03:00
Grigory Smolkin
687677fa92 Merge branch 'pgpro_2370' 2019-02-11 20:15:50 +03:00
Grigory Smolkin
d7f51ac855 tests: another minor fix for snapfs 2019-02-11 20:14:00 +03:00
Grigory Smolkin
8b8337047c tests: minor fix 2019-02-11 20:04:33 +03:00
Arthur Zakirov
c052651b8c PGPRO-2432: Expand 04a7d45647 to usual files 2019-02-11 19:09:21 +03:00
Anastasia
0220ae5146 Merge branch 'master' into pgpro_2370 2019-02-11 18:23:51 +03:00
Anastasia
5c247d0ffa treat snap files as not datafiles.
fix a typo in snapfs.py
2019-02-11 18:14:31 +03:00
Arthur Zakirov
04a7d45647 PGPRO-2432: Improve reading of compressed WAL's if Postgrestries to read same record many times 2019-02-11 15:16:59 +03:00
Grigory Smolkin
bed0a45121 minor bugfix: dissapeared during backup files were marked as 'not changed', now such files are removed from backup_list at the end of the backup 2019-02-09 12:19:41 +03:00
Grigory Smolkin
10b8db397a tests: minor fix to restore tests 2019-02-09 02:30:22 +03:00
Grigory Smolkin
628cdce778 PGPRO-2425: previously successfull restore was relying on that there are no failed backups between base_full_backup and dest_backup, it could lead to false-positive validation or restore errors despite the fact that parent chain is valid. There even was a small chance of data corruption: if between base_full_backup and dest_backup were located backups from parallel chain. TLDR: restore was rolling backups blindly. See test test_restore_chain_with_corrupted_backup() for an example. 2019-02-09 02:15:06 +03:00
Grigory Smolkin
2028275c10 PGPRO-2425: tests test_restore_chain_with_corrupted_backup() and test_restore_chain() added 2019-02-09 01:59:43 +03:00
Grigory Smolkin
c3cf4d31fa tests: disable fsync 2019-02-08 09:34:54 +03:00
Grigory Smolkin
9256d32e8e tests: added test_drop_rel_during_backup_delta(), test_drop_rel_during_backup_page() and test_drop_rel_during_backup_ptrack() 2019-02-07 20:23:38 +03:00
Grigory Smolkin
eae31a1867 write START LSN to backup meta after pg_start_backup execution 2019-02-04 16:48:14 +03:00
Grigory Smolkin
ace4ca29ae PGPRO-2407: Time for RUNNING backup now calculated on the fly 2019-02-04 16:12:07 +03:00
Grigory Smolkin
34cb9169c4 tests: module remote added 2019-01-31 19:47:44 +03:00
Grigory Smolkin
2c08cb2c2f tests: test_locking_simple_2() added 2019-01-31 18:57:28 +03:00
Grigory Smolkin
50f5e5013a tests: minor fix in test_locking_simple() 2019-01-31 18:44:26 +03:00
Grigory Smolkin
0b520603a7 Merge branch 'master' into pgpro-1918 2019-01-31 16:31:29 +03:00
Grigory Smolkin
282cf11b30 tests: test_locking_simple() added 2019-01-31 16:31:11 +03:00
Grigory Smolkin
8063652248 Merge branch 'master' into pgpro-1918 2019-01-31 12:04:48 +03:00
Grigory Smolkin
abf646d0d9 tests: module "locking" added 2019-01-31 12:03:02 +03:00
Grigory Smolkin
40ef9e9b1b tests: module logging added 2019-01-25 21:33:34 +03:00
Grigory Smolkin
9bf541b853 tests: snapfs module added 2019-01-25 19:37:21 +03:00
Grigory Smolkin
93c39d2d53 tests: test_tablespace_handling() added 2019-01-16 17:47:08 +03:00
Grigory Smolkin
1dbc0c94df tests: to pgdata_content() and add_instance() arbitrary cmdline options can now be provided 2019-01-16 16:31:26 +03:00
Grigory Smolkin
71172fb6de tests: fix test_no_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:46:29 +03:00
Grigory Smolkin
8894d9f9a8 tests: fix test_empty_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:40:35 +03:00
Grigory Smolkin
ba53bb5a09 tests: fix test_corrupt_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:36:14 +03:00
Grigory Smolkin
58cd26f10a tests: slow_start() fix 2019-01-14 20:20:24 +03:00
Grigory Smolkin
4d8b6f50c9 tests: slow_start more robust behaviour 2019-01-14 19:58:15 +03:00