1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-22 11:44:34 +02:00

359 Commits

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