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

634 Commits

Author SHA1 Message Date
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
f911eead63 tests: test_external_none() added 2019-02-14 14:12:55 +03:00
Grigory Smolkin
e225bb830b PGPRO-421 tests: test_external_backward_compatibility() added, minor fixes 2019-02-13 11:42:48 +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
Sergey Cherkashin
512ae2ffd1 Merge branch 'master' into PGPRO-421 2019-02-12 17:23:58 +03:00
Sergey Cherkashin
dbefa9e183 Rename feature from "extra directories" to "external directories" 2019-02-12 17:19:18 +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
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
Sergey Cherkashin
14f48dcefb Throw an error when during a restore operation the user tries to remap
an external directory that is not in the destination backup
2019-02-11 18:07:12 +03:00
Grigory Smolkin
10b8db397a tests: minor fix to restore tests 2019-02-09 02:30:22 +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
62c2028a0f tests: support remote tests 2019-02-01 19:32:48 +03:00
Grigory Smolkin
29d6210408 tests: test_remote_1() added 2019-01-31 20:27:41 +03:00
Grigory Smolkin
54d05f7084 Merge branch 'master' into remote_pull 2019-01-31 19:48:41 +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
282cf11b30 tests: test_locking_simple() added 2019-01-31 16:31:11 +03:00
Grigory Smolkin
abf646d0d9 tests: module "locking" added 2019-01-31 12:03:02 +03:00
Grigory Smolkin
7a90741d75 tests: fix merge 2019-01-27 18:35:57 +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
bda5d3b564 tests: PGPRO-421 test_backup_multiple_external() added 2019-01-16 17:49:59 +03:00
Grigory Smolkin
b1cd1b1521 Merge branch 'master' into PGPRO-421 2019-01-16 17:49:01 +03:00
Grigory Smolkin
93c39d2d53 tests: test_tablespace_handling() added 2019-01-16 17:47:08 +03:00
Grigory Smolkin
5cd09774af tests for external directories 2019-01-16 16:33:27 +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
Grigory Smolkin
94d7c4bb3b tests: crutch-fix json parsing in show_pb() 2019-01-12 01:42:01 +03:00
Grigory Smolkin
c542c61182 Merge remote-tracking branch 'origin/PGPRO-1780' 2019-01-11 19:04:31 +03:00
Grigory Smolkin
5bcea32f31 tests: comment minor fix 2019-01-11 17:54:50 +03:00
Grigory Smolkin
8300983ead Merge remote-tracking branch 'origin/origin/pgpro-2235' 2019-01-11 17:51:39 +03:00
Ilya Skvortsov
8c7e1aa85d try to continue MERGE after fail on backup deleting 2019-01-11 17:44:39 +03:00
Grigory Smolkin
01770e7e37 tests: slow_start for replicas 2019-01-11 17:21:06 +03:00
Grigory Smolkin
1b2ead72df tests: python3 minor fix 2019-01-10 18:17:03 +03:00
Grigory Smolkin
069b9c1060 tests: python 3 support 2019-01-10 18:12:00 +03:00
Arthur Zakirov
dcdd21300b tests: do not call exit(1) 2019-01-09 18:25:52 +03:00
Arthur Zakirov
1fff8a2d3d tests: pass replica=True to replica for slow_start() 2019-01-09 16:58:37 +03:00
Arthur Zakirov
d8553c06af Version 2.0.26
- Bugfix: fixed undefined behaviour in case of undefined compression algorithm
- Bugfix: correctly calculate backup size after MERGE
- Bugfix: fixed MERGE of compressed and uncompressed backups
- Bugfix: remove unnecessary remaining files after MERGE
- Bugfix: consider target LSN (--lsn parameter) during validating WAL
- Improvement: check backup program_version during VALIDATE, do not support forward compatibility
- Improvement: improve Windows support
- Improvement: improve support of tablespaces within PGDATA
2019-01-09 15:28:30 +03:00
Grigory Smolkin
93cedf1747 tests: fix test_validate_wal_unreal_values() and test_validate_wal_lost_segment_1() 2018-12-29 12:42:59 +03:00
Grigory Smolkin
c69d4ed7f8 tests: validate fix (windows support) 2018-12-28 19:26:01 +03:00
Grigory Smolkin
7d53afb1c7 tests: windows support for validate 2018-12-27 22:40:23 +03:00
Grigory Smolkin
f6c1966415 tests: windows support, eschew using node.restart() 2018-12-27 17:19:23 +03:00
Grigory Smolkin
8f9ca4ae9f tests: windows support for test_restore_with_tablespace_mapping_1 2018-12-27 13:18:19 +03:00
Grigory Smolkin
c7dee40d13 tests: windows support for test_restore_with_tablespace_mapping_1 2018-12-27 13:04:16 +03:00
Grigory Smolkin
361d408c19 tests: support new behaviour of node.cleanup() in testgres 2018-12-27 13:00:57 +03:00
Grigory Smolkin
b61df02ce1 tests: windows compatibility, cross-platform path for base_dir 2018-12-26 22:59:13 +03:00
Grigory Smolkin
c1fd7ce031 minor fix 2018-12-25 22:07:54 +03:00
Grigory Smolkin
9a632f0f56 tests: windows support, fix test_incremental_backup_corrupt_full() 2018-12-25 22:04:56 +03:00
Grigory Smolkin
7b66795b8a tests: windows support 2018-12-25 17:48:49 +03:00
Grigory Smolkin
f8340f5eb8 tests: adapt test_tablespace_in_pgdata_pgpro_1376 to 9e8d70d51b 2018-12-25 17:12:48 +03:00
Grigory Smolkin
04b96de31f tests: windows compatibility, archive_command for windows 2018-12-18 12:06:04 +03:00
Grigory Smolkin
c7d7ceb5bb tests: windows compatibility(WIP) 2018-12-17 17:54:38 +03:00
Grigory Smolkin
4650c6f6f8 tests: changes for windows compatibility(work in progress) 2018-12-17 17:44:42 +03:00
Anastasia
1654eea349 Merge master into pgpro-2065 2018-12-13 16:44:46 +03:00
Grigory Smolkin
e16bdc6660 tests: add some comments 2018-12-13 13:21:57 +03:00
Grigory Smolkin
a5cef98908 tests: test_merge_tablespaces and test_merge_tablespaces_1 added 2018-12-13 11:45:04 +03:00
Grigory Smolkin
eef5769ffd tests: pgdata_compare now detect missing or redundant directories 2018-12-13 10:20:49 +03:00
Grigory Smolkin
9484b6de27 tests: test_page_create_db added 2018-12-12 20:32:42 +03:00
Grigory Smolkin
32e0d5b3e5 tests: more merge tests added 2018-12-11 17:32:24 +03:00
Arthur Zakirov
affc01012f Fix MERGE of compressed and uncompressed backups 2018-12-11 17:32:24 +03:00
Grigory Smolkin
b36c9c7180 tests: test_merge_compressed_backups_1 added 2018-12-11 17:32:24 +03:00
Grigory Smolkin
ccc0ccf356 tests: test_merge_compressed_and_uncompressed_backups added 2018-12-11 17:32:24 +03:00
Grigory Smolkin
ccccb1a743 tests: checkdb module added 2018-12-11 12:03:46 +03:00
Grigory Smolkin
8a63589564 tests: checkdb module added 2018-12-11 12:02:38 +03:00
Grigory Smolkin
b455420a18 tests: more merge tests added 2018-12-07 23:39:39 +03:00
Arthur Zakirov
2837399e6b Fix MERGE of compressed and uncompressed backups 2018-12-07 17:24:21 +03:00
Grigory Smolkin
59ab21e5c2 tests: test_merge_compressed_backups_1 added 2018-12-07 09:43:38 +03:00
Grigory Smolkin
8b1b53bc3b tests: test_merge_compressed_and_uncompressed_backups added 2018-12-06 19:07:56 +03:00
Grigory Smolkin
c14c5a58c5 Version 2.0.25
- Bugfix: changing log-level-file and log-level-console via set-config now works correctly
 - Bugfix: WAL files crc comparison done by archive-push is now works correctly, previously it`s was always giving mismatch
 - Impromevent: PG_STOP_BACKUP_TIMEOUT now governed by archive-timeout option
 - Impromevent: CRC-32c now used to calculate crc for data and WAL files, previously a slower CRC-32 was used
 - Impromevent: cold replica can be backuped without false-positive WAL timeouts
 - Impromevent: for PG >= 10 pg_stop_backup now called without wait_for_archive flag
 - Impromevent: minor fixes for Windows build
2018-11-28 21:32:54 +03:00
Grigory Smolkin
82101e032a tests: minor fixes 2018-11-28 21:19:10 +03:00
Arthur Zakirov
e199c4aee8 Use CRC-32C again. Calculate crc for pg_control differently using ControlFileData struct.
Bump version to 2.0.25.
2018-11-26 14:17:46 +03:00
Grigory Smolkin
b52ee32440 tests: minor fixes 2018-11-24 22:57:27 +03:00
Arthur Zakirov
b4672e3ac8 PGPRO-2180: In pg_stop_backup for replica wait for LSN of prior record 2018-11-21 18:30:03 +03:00
Grigory Smolkin
fe00564707 tests: minor fixes 2018-11-16 09:35:41 +03:00
Sergey Cherkashin
6d0cbfa232 Fix test test_arhive_push_file_exists 2018-11-14 18:17:28 +03:00
Sergey Cherkashin
20d4dcc291 Modifyed test test_arhive_push_file_exists. Fixed fileEqualCRC()
error handling
2018-11-14 18:17:28 +03:00
Grigory Smolkin
de9c3b64d7 Version 2.0.24
- Major bugfix: incorrect handling of badly compressed blocks, previously there was a risk to restore block in uncompressed state, if compressed size was equal or larger than BLCKSZ
        - Impromevent: backup from replica >= 9.6 no longer need connection to master
        - Workaround: wrong minRecPoint in PostgreSQL thanks to commit 8d68ee6(block from future), overwrite minRecPoint with latest applied LSN
        - Impromevent: merge is now considered stable feature
        - Impromevent: validation now use more conservative and paranoid approach to file validation, during validation pg_probackup also check block checksumm, make sanity check based on block header information and try to detect blocks from future
        - New validate/restore options:
           '--skip-block-validation' - disable aforementioned approach to file validation
        - Multiple minor fixes
2018-11-12 12:41:02 +03:00
Grigory Smolkin
6eefeeba8d tests: expected help fixed 2018-11-12 12:15:54 +03:00
Grigory Smolkin
d2271554a2 tests: minor fixes 2018-11-12 11:51:58 +03:00
Grigory Smolkin
644c4bd9fb Merge remote-tracking branch 'origin/pgpro-1892-2' 2018-11-11 22:08:55 +03:00
Grigory Smolkin
8e716791ba tests: minor fixes 2018-11-11 21:53:00 +03:00
Arthur Zakirov
ee6bab40a9 PGPRO-1892: Add validation of merged backups 2018-11-10 23:56:15 +03:00
Grigory Smolkin
fcc4ed7439 PGPRO-1892: added test_continue_failed_merge_with_corrupted_delta_backup 2018-11-10 23:56:15 +03:00
Arthur Zakirov
88354a8dde PGPRO-1892: Continue failed merge command 2018-11-10 23:56:15 +03:00
Grigory Smolkin
12a6dcdd93 PGPRO-1905: check message about system id mismatch 2018-11-09 18:45:29 +03:00
Arthur Zakirov
ea3ed9fa17 Instead of current global backup variable use function local argument, which is sent by callers 2018-11-08 15:04:55 +03:00
Anna
7ab07a5f49 Fix tests
- remove outdated comment about ptrack
- stop compatibility tests from launching two times
- make test_tablespace_in_pgdata_pgpro_1376 clean up after itself
2018-10-30 15:44:54 +03:00
Arthur Zakirov
62a6317ed8 Version 2.0.22
- Calculate checksum for backuped files using CRC-32, validate pre 2.0.22 backups using CRC-32C
- Do not backup unchanged _vm,_fsm, pg_clog, pg_multixact, etc files
- Write program-version only during backup
- Minor fixes and bug fixes
2018-10-26 19:10:04 +03:00
Grigory Smolkin
cc45cea3c9 tests: ptrack yet another fix 2018-10-24 21:08:00 +03:00
Grigory Smolkin
64ac528add tests: PGPRO-2096, validation failed to detect pg_control change via resetxlog 2018-10-22 10:01:53 +03:00
Grigory Smolkin
fe3c422c5f tests: additional retention test 2018-10-20 13:44:47 +03:00
Grigory Smolkin
760c80f7f4 tests: bloom index support 2018-10-19 14:54:17 +03:00
Grigory Smolkin
cf3c69e906 tests: bloom index added to tests 2018-10-18 16:37:34 +03:00
Grigory Smolkin
151145d0a0 tests: compatibility test added 2018-10-18 10:32:26 +03:00
Grigory Smolkin
39f005b6a6 tests: add module ptrack_empty, create_db_on_replica 2018-10-18 09:46:02 +03:00
Grigory Smolkin
9ec6357a0a tests: fix ptrack_cluster 2018-10-17 18:11:53 +03:00
Grigory Smolkin
ff316021b0 tests: ptrack madness 2018-10-17 17:04:23 +03:00
Grigory Smolkin
3088f4fbf2 tests: some more of ptrack fixes 2018-10-17 12:56:03 +03:00
Grigory Smolkin
dff482a2da tests: ptrack tests major revamp 2018-10-16 22:53:59 +03:00
Grigory Smolkin
c9823c04c9 tests: fix major bugs in ptrack tests 2018-10-16 19:16:46 +03:00
Grigory Smolkin
a401164223 tests: change check_ptrack_sanity() so page delete considered valid case for ptrack marking 2018-10-16 16:58:28 +03:00
Grigory Smolkin
bd703a0f0b tests: compatibility test minor fix 2018-10-16 10:50:29 +03:00
Grigory Smolkin
ed90318166 tests: fix probackup_old_path 2018-10-15 19:31:12 +03:00
Grigory Smolkin
4b048ba4db tests: minor changes 2018-10-15 17:09:16 +03:00
Grigory Smolkin
0818889c06 tests: add note about compatibility test in Readme 2018-10-15 12:30:35 +03:00
Grigory Smolkin
dc297ec310 tests: compatibility module added 2018-10-15 12:27:51 +03:00
Grigory Smolkin
77c36ee78a tests: lookup pg_probackup binary presense in BINDIR, PGPROBACKUPBIN and parent directory. Add pg_probackup directory to PATH 2018-10-12 22:36:02 +03:00
Grigory Smolkin
fa06d8a66c tests: keep some history tests 2018-10-11 16:35:40 +03:00
Grigory Smolkin
d8f717d37e tests: minor tweak 2018-10-11 16:28:22 +03:00
Grigory Smolkin
0ff7d613d8 tests: fix validate tests broken by PR #33 2018-10-11 16:26:23 +03:00
Arthur Zakirov
0669939bba Fix tests 2018-10-11 12:58:37 +03:00
Arthur Zakirov
6fc6800243 Fix tests.__init__.py 2018-10-10 15:17:45 +03:00
Grigory Smolkin
a7329d9b81 bugfix: nullified page shouldn`t be skipped by DELTA backup 2018-10-10 11:37:12 +03:00
Arthur Zakirov
c90d578a67 Version 2.0.21
- Dynamically resize show table
- Port to PostgreSQL 11
- Minor fixes and bug fixes
2018-10-09 20:01:54 +03:00
Arthur Zakirov
3dec5b3bea Fix cfs tests in cfs_restore.py 2018-10-09 18:22:56 +03:00
Arthur Zakirov
7ed8014071 Bug fix. Fix incorrect behaviour of parse_backup_filelist_filenames(), we should use strlen() 2018-10-09 17:42:53 +03:00
Arthur Zakirov
ad5cda62fd Bug fix. Fix race condition with parallel MERGE 2018-10-05 17:26:39 +03:00
Grigory Smolkin
ca43526906 tests: tests.restore_test.RestoreTest.test_zags_block_corrupt minor change 2018-10-02 11:55:37 +03:00
Grigory Smolkin
7828e1f71a tests: tests.restore_test.RestoreTest.test_zags_block_corrupt added 2018-10-01 21:44:21 +03:00
Arthur Zakirov
85f7559d53 Version 2.0.20
Minor fixes and bug fixes
2018-09-26 18:22:31 +03:00
Grigory Smolkin
bf3bb35edf tests: minor fix 2018-09-26 01:27:06 +03:00
Grigory Smolkin
1e47aeab64 tests: be more verbose in ptrack sanity check 2018-09-25 20:34:38 +03:00
Grigory Smolkin
48a8723cf8 tests: test_multithread_page_backup_with_toast added 2018-09-15 13:42:23 +03:00
Grigory Smolkin
9191746ce0 tests: minor fixes 2018-09-06 20:46:32 +03:00
Grigory Smolkin
24c95417a5 tests: minor fixes for page tests 2018-09-03 18:45:53 +03:00
Grigory Smolkin
cc42c5558e PGPRO-428: validation and revalidation rework based on parent_backup_link 2018-09-03 17:31:04 +03:00
Anastasia
33a33a9e1b Version 2.0.19.
Various fixes and code cleanup for previous version.
2018-08-17 16:31:28 +03:00
Anastasia
1222a7002b Detect WAL corruption in parallel page backup.
Improve log messages.
2018-08-16 23:38:57 +03:00
Grigory Smolkin
2e9a5b99c9 tests: added test_page_backup_with_alien_wal_segment 2018-08-16 11:54:06 +03:00
Grigory Smolkin
6e856bd877 PGPRO-427: added test_page_backup_with_corrupted_wal_segment 2018-08-15 17:38:44 +03:00
Grigory Smolkin
c4069c7520 tests: test_continue_failed_merge added 2018-08-13 10:08:38 +03:00
Grigory Smolkin
fc464219f1 tests: remove duplicate 2018-08-12 21:13:39 +03:00
Grigory Smolkin
76234b1e1d tests: minor fix in test_page_backup_with_lost_wal_segment 2018-08-12 15:15:09 +03:00
Grigory Smolkin
bd9311a98f tests: test_page_backup_with_lost_wal_segment added 2018-08-12 15:10:22 +03:00
Arthur Zakirov
c7a83af64e We should use paranoia check after full and page restore 2018-08-10 12:33:09 +03:00
Arthur Zakirov
3fe942f97b Fix bug: Sometimes we may miss WAL segments and threads 2018-08-09 19:02:38 +03:00
Grigory Smolkin
ff739835f3 tests: minor changes 2018-08-09 16:49:23 +03:00
Grigory Smolkin
9dde05ebdd tests: page backup in multiple workers 2018-08-09 16:42:51 +03:00
Grigory Smolkin
f23b0e7e9b tests: test_merge_delta_delete added 2018-08-09 16:19:31 +03:00
Arthur Zakirov
3f5540de6a Version 2.0.18 2018-08-06 12:47:51 +03:00
Arthur Zakirov
4ed28cf6e5 PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
Arthur Zakirov
9a7daf009f Merge branch 'pgpro-1643-squashed' 2018-07-27 17:56:55 +03:00
Arthur Zakirov
144b8529e7 Merge branch 'pgpro-1693-squashed' 2018-07-27 17:35:44 +03:00
Aleksandr Parfenov
ab86cb5962 Warning in case of empty/corrupted backup.control file 2018-07-27 17:20:43 +03:00
Aleksandr Parfenov
586e3366c7 Add support of recovery target LSN 2018-07-27 17:11:23 +03:00
Arthur Zakirov
6d912340d6 PGPRO-427: Fix bug in SimpleXLogPageRead() with parallel mode 2018-07-25 14:17:04 +03:00
Arthur Zakirov
ee3ce85235 PGPRO-427: Merge with master 2018-07-19 12:15:06 +03:00
Ilya Skvortsov
3744048d4e Test start-time using 2018-07-18 15:19:39 +03:00
Grigory Smolkin
64262950c3 PGPRO-427: small fix to tests 2018-07-18 09:45:33 +03:00
Grigory Smolkin
b122966a3a PGPRO-427: additional test added 2018-07-18 09:41:45 +03:00
Grigory Smolkin
f0abaf9438 add --no-validate description to help 2018-07-18 09:10:38 +03:00
Grigory Smolkin
5bed18c378 Merge branch 'master' into pgpro-1286-no-validation-restore 2018-07-18 08:41:30 +03:00
Grigory Smolkin
f0864a2d43 tests: replica slow_start() minor change 2018-07-15 16:37:48 +03:00
Grigory Smolkin
b67c0b54c4 add replica flag in slow_start() method 2018-07-14 02:45:17 +03:00
Grigory Smolkin
2a1181ee92 tests: minor fix 2018-07-14 01:17:04 +03:00
Grigory Smolkin
f98c91b3ba tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
Ilya Skvortsov
c81a61208c new no-validate test added 2018-07-09 13:57:10 +03:00
Grigory Smolkin
1b70807d38 tests: fix archive tests 2018-07-06 20:41:49 +03:00
Arthur Zakirov
6e0f5bb68b PGPRO-427: Process blocks change in parallel 2018-06-18 11:47:29 +03:00
Arthur Zakirov
8f6fb524fd Merge branch 'pgpro-533' 2018-06-07 14:55:12 +03:00
Aleksandr Parfenov
93e85cb86e Add --no-validate option for restore command 2018-06-04 11:27:00 +03:00
Grigory Smolkin
191d5e30e9 tests: json format for show command 2018-06-02 20:35:37 +03:00
Grigory Smolkin
e991328779 tests: minor fixes 2018-05-21 17:08:46 +03:00
Grigory Smolkin
d1e4d2b059 tests: add ptrack test for unlogged tables 2018-05-21 13:19:33 +03:00
Grigory Smolkin
c408a0ea47 bump version to 2.0.17 2018-05-03 14:14:55 +03:00
Grigory Smolkin
448597dc5b tests: remove reliance on implicit immediate recovery target action from tests 2018-05-03 14:12:19 +03:00
Grigory Smolkin
f549245281 tests: minor changes for 9.5 2018-05-01 13:41:17 +03:00
Grigory Smolkin
e3685e83b7 tests: minor fixes 2018-04-28 18:49:34 +03:00
Grigory Smolkin
f6b8264005 PGPRO-1376 tests: new test case added 2018-04-25 22:15:05 +03:00
Arthur Zakirov
b7caea5896 PGPRO-1376: Do not copy tablespace files twice 2018-04-24 17:45:30 +03:00
Ilya Skvortsov
4f544e90b7 Update Readme.md 2018-04-23 17:20:46 +03:00
Grigory Smolkin
721ffb7976 tests: minor fix 2018-04-11 23:02:36 +03:00
Grigory Smolkin
b1f9043564 tests: update tests due to recovery target action been set to "pause" 2018-04-11 19:47:19 +03:00
Grigory Smolkin
5f62980cb6 Merge branch 'master' into pgpro_1053_697 2018-04-11 02:25:11 +03:00
Grigory Smolkin
71d41ac29b tests: minor improvements 2018-04-11 02:23:13 +03:00
Grigory Smolkin
bfa3054fe4 tests: minor fix to ptrack tests 2018-04-02 14:59:19 +03:00
Grigory Smolkin
e82ae6d144 tests: test_atexit_fail added 2018-03-26 03:19:09 +03:00
Grigory Smolkin
351ce4afd7 set default recovery target to pause, minor fixes for help, tests coverage 2018-03-23 13:23:17 +03:00
Grigory Smolkin
ff940f69dc testgres 1.6 testgres 2018-03-20 22:30:57 +03:00
Grigory Smolkin
bea0f8ef63 Github Issue 24: check PQresultStatus for pg_stop_backup() 2018-03-19 20:51:01 +03:00
Grigory Smolkin
f685305eed Merge branch 'pgpro-1504' 2018-03-17 01:41:35 +03:00
Grigory Smolkin
541195b597 fix PGPRO-1507: null-sized files were not copied to backup 2018-03-16 11:53:43 +03:00
Grigory Smolkin
1b61ca8299 Merge branch 'pgpro-1457' 2018-03-16 02:26:51 +03:00
Grigory Smolkin
fb88c42a51 PGPRO-1504: test minor fixes 2018-03-15 13:57:17 +03:00
Grigory Smolkin
32b5017d38 PGPRO-1504: during validation attemp to revalidate CORRUPT and ORPHAN backups 2018-03-15 13:34:51 +03:00
Grigory Smolkin
83d2fb3061 PGPRO-1457: minor changes proposed by Arthur Zakirov 2018-03-14 18:36:31 +03:00
Grigory Smolkin
59b5145b1f tests: new page test added, minor fixes for ptrack tests 2018-03-06 17:10:55 +03:00
Grigory Smolkin
e29a5dbe57 PGPRO-1457: new test, minor fixes for tests 2018-03-06 17:08:43 +03:00
Grigory Smolkin
14e1ae264b Merge remote-tracking branch 'origin/master' into pgpro-1457 2018-03-06 16:17:13 +03:00
Grigory Smolkin
9cdded93ac PGPRO-1457: fix DELTA backup not copiying files created by CREATE DATABASE 2018-03-06 16:10:58 +03:00
Grigory Smolkin
0d0802758a tests: minor fixes 2018-03-03 11:42:10 +03:00
Anastasia
76afcee125 Version 2.0.16
- Fix CVE-2018-1058. Use schema name explicitly in all function calls.
- Fix: Handle datafiles in directory global as datafiles.
- Fix: Do not copy ptrack files from directory global to backup anymore.
- Check if --instance is specified for VALIDATE with target parameters
- Adjust README package installation instruction.
2018-03-02 19:26:37 +03:00
Grigory Smolkin
f8f9e47cbf tests: check _ptrack files absense in restored pgdata 2018-03-01 22:25:43 +03:00
Grigory Smolkin
4f7ca55d7e tests: minor fixes 2018-02-28 23:01:22 +03:00
Grigory Smolkin
052329fc85 tests: disable autovacuum in pgdata_compare() tests 2018-02-26 18:34:56 +03:00
Grigory Smolkin
70d7e463bb PGPRO-1457: backup mode DELTA 2018-02-26 17:53:29 +03:00
Sergey Logvinenko
6ed685ac1f fix "TypeError: got <type 'str'> ('Password for user .*:') as pattern, must be one of: <type 'unicode'>, pexpect.EOF, pexpect.TIMEOUT" in auth_test.py 2018-02-26 17:19:04 +03:00
Grigory Smolkin
0ef622f16b tests: fix error message about an extra page in file 2018-02-26 17:05:43 +03:00
Grigory Smolkin
fa9d02e9a3 tests: testgres version in Readme fix 2018-02-14 10:31:30 +03:00
Grigory Smolkin
f9e36ee01e Version 2.0.15
- fix infinite loop in page validation
- fix segfault in parallel ptrack connections
- allow to use delete-wal option wihtout delete-expired(in accordance with documentation)
- allow to use pg_ptrack_get_block if it`s available and page is invalid
- help update
- testgres 1.3 support
- pglz is not thread-safe, do not allow multithread backup with pglz compression
- multiple minor fixes
2018-02-07 07:12:37 +03:00
Grigory Smolkin
760afb60aa tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
Grigory Smolkin
78503f905b Merge remote-tracking branch 'origin/testgres1' 2018-01-27 18:31:19 +03:00
Grigory Smolkin
304ded65b8 tests: minor fix 2018-01-26 18:29:31 +03:00
Grigory Smolkin
5033768e47 tests: PGPRO-1377 2018-01-26 12:52:15 +03:00
Grigory Smolkin
3ddd130baa tests: cfs_backup 2018-01-25 21:39:16 +03:00
Grigory Smolkin
5b43633a9d tests: PGPRO-1184 2018-01-25 21:37:27 +03:00
Grigory Smolkin
fddc927c6e PGPRO-1376: tablespace in pgdata, test added 2018-01-25 19:49:25 +03:00
Grigory Smolkin
1fbea2dc14 tests: minor fix 2018-01-18 18:56:33 +03:00
Grigory Smolkin
9e44d505bc tests: changes to tests.README and minor corrections 2018-01-18 17:15:21 +03:00
Grigory Smolkin
68e2742da0 tests: major fixes 2018-01-18 04:35:27 +03:00
Grigory Smolkin
45923cf9c7 tests: minor fix validate_test 2018-01-17 21:23:57 +03:00
Grigory Smolkin
fb1eb3cd20 tests: minor fixes, backup_test PEP8 2018-01-17 21:15:49 +03:00
Grigory Smolkin
d6a2d36403 tests: minor fixes, new tests for ptrack 2018-01-17 20:51:43 +03:00
Anastasia
c981bf737f Version 2.0.14
- fixed race conditions in ptrack and page backups
- fixed parallel ptrack backup interruption
- added new backup state 'ORPHAN' which means that one of previous backups is corrupted
2018-01-17 10:46:29 +03:00
Grigory Smolkin
3d0fcdf9b0 tests: added test_page_vacuum_truncate 2018-01-16 18:46:55 +03:00
Grigory Smolkin
b2f5ae5727 tests: compare_pgdata now can track extra pages in restored files 2018-01-14 17:32:43 +03:00
sfalkon
3abbc5d6e2 - fix auth_test
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:38:32 +03:00
sfalkon
3cfb8e2242 - fix auth_test
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:27:33 +03:00
Grigory Smolkin
8d8a70f886 Merge branch 'pgpro-1248' 2018-01-10 21:18:31 +03:00
Grigory Smolkin
1fad089a66 tests: another minor fix 2018-01-10 16:08:25 +03:00
Grigory Smolkin
48017e6410 tests: minor fix 2018-01-10 16:05:26 +03:00
Grigory Smolkin
0de4ec09ab tests: PGPRO-1230 ptrack race condition tests 2018-01-10 16:03:33 +03:00
Grigory Smolkin
f97fab6c89 tests: minor fix 2017-12-28 12:55:32 +03:00
Grigory Smolkin
6ccaed5ccd tests: simple ptrack test 2017-12-28 12:27:40 +03:00
Grigory Smolkin
7bb2177bb8 tests: page_get_block added 2017-12-28 12:02:53 +03:00
Grigory Smolkin
0f85328399 tests: pgdata_compare block-level granularity 2017-12-28 11:52:18 +03:00
Grigory Smolkin
ab59860dc9 tests: minor improvements 2017-12-25 11:28:25 +03:00
Grigory Smolkin
00070a44af tests: gdb class, ptrack test for PGPRO-1230, PEP8 2017-12-22 02:04:59 +03:00
Grigory Smolkin
0ba73d3367 tests: cfs tests skip condition added 2017-12-22 01:39:16 +03:00
Grigory Smolkin
0a073b4c63 tests: new tests for compressed archive, pg_receivexlog support added 2017-12-19 13:18:42 +03:00
Grigory Smolkin
b6f1dd8fbe PGPRO-1248: new status ORPHAN for backup with corrupted parent 2017-12-19 12:56:03 +03:00
Grigory Smolkin
f436888f46 tests: validate fixes 2017-12-14 21:33:48 +03:00
Grigory Smolkin
c6c8d93945 test: archive compression small fix 2017-12-14 00:39:19 +03:00
Grigory Smolkin
17c1b317ca tests: archive compression 2017-12-14 00:29:39 +03:00
Grigory Smolkin
277e4101d8 tests: fixes 2017-12-13 11:15:42 +03:00
s.logvinenko
6174a863ce fix auth_test for testgres 0.4.0 2017-12-11 15:31:16 +03:00