1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-12 11:45:24 +02:00
Commit Graph

372 Commits

Author SHA1 Message Date
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
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
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