Grigory Smolkin
a039fd14aa
add warning if waiting for START LSN during ARCHIVE backup is exceeding 30 seconds
2018-12-03 13:38:45 +03:00
Grigory Smolkin
4155171b19
update README.md about PG11 support
2018-11-30 09:19:32 +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
Grigory Smolkin
b52ee32440
tests: minor fixes
2018-11-24 22:57:27 +03:00
Grigory Smolkin
57ca17ad6c
bugfix: use CRC32C for crc comparison during archive-push if target WAL segment is compressed
2018-11-23 18:40:21 +03:00
Grigory Smolkin
7e2fccd041
bugfix: use CRC32 for crc comparison during archive-push if target WAL segment is compressed
2018-11-23 18:16:49 +03:00
Grigory Smolkin
d84d79668b
disable wait for archive in pg_stop_backup
2018-11-16 09:39:32 +03:00
Grigory Smolkin
fe00564707
tests: minor fixes
2018-11-16 09:35:41 +03:00
Grigory Smolkin
c0f0f7e44a
Merge remote-tracking branch 'origin/skip_unchanged_files'
2018-11-15 22:26:16 +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
Grigory Smolkin and Arthur Zakirov
fcc4ed7439
PGPRO-1892: added test_continue_failed_merge_with_corrupted_delta_backup
2018-11-10 23:56:15 +03:00
Grigory Smolkin
5b41a106b7
Merge branch 'pgpro-2095'
2018-11-10 21:16:42 +03:00
Grigory Smolkin
12a6dcdd93
PGPRO-1905: check message about system id mismatch
2018-11-09 18:45:29 +03:00
Grigory Smolkin
1f951e4e71
revert log-rotation-age unit change
2018-11-07 04:57:06 +03:00
Grigory Smolkin
16b9b36981
bugfix: change units for archive-timeout & archive-timeout to seconds, log-rotation-age to minutes
2018-11-07 04:29:54 +03:00
Grigory Smolkin
6c9dfcfe82
PGPRO-2095: use latest replayed lsn instead of STOP LSN
2018-11-07 04:21:56 +03:00
Grigory Smolkin
d29aa8b0b4
PGPRO-2095: backup from replica without connection to master for PostgreSQL >= 9.6
2018-10-31 09:47:53 +03:00
Grigory Smolkin
9804b79c91
bugfix: uninterrupt WAL reading
2018-10-27 12:47:21 +03:00
Grigory Smolkin
8c5e8e0ccd
minor spell fix in elog messages about LSN from future
2018-10-27 12:22:27 +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
31b9da4fb7
change elevel to VERBOSE for message about file truncate in restore_data_file()
2018-10-18 16:52:56 +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
85bc40a907
Merge remote-tracking branch 'origin/pgpro-2073'
2018-10-18 09:48:17 +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 and Arthur Zakirov
4e68bac2f8
PGPRO-2073: fix missing write_backup
2018-10-16 12:11:59 +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
Grigory Smolkin
1795815178
Merge branch 'master' into stable
2018-10-10 11:38:41 +03:00
Grigory Smolkin
a7329d9b81
bugfix: nullified page shouldn`t be skipped by DELTA backup
2018-10-10 11:37:12 +03:00
Grigory Smolkin
13fb0489b7
change elevel for 'Restored file' message to VERBOSE
2018-10-05 12:13:09 +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
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
f0260183c2
minor elevel change for messages about transfering data files
2018-09-17 18:27:20 +03:00
Grigory Smolkin
48a8723cf8
tests: test_multithread_page_backup_with_toast added
2018-09-15 13:42:23 +03:00
Grigory Smolkin
73627827de
add Thread prefix message
2018-09-14 17:06:17 +03:00
Grigory Smolkin
9191746ce0
tests: minor fixes
2018-09-06 20:46:32 +03:00
Grigory Smolkin
d481c2e919
minor bugfix: be more accurate with dest_backup_index and base_full_backup_index calculation
2018-09-06 19:14:18 +03:00
Grigory Smolkin
24c95417a5
tests: minor fixes for page tests
2018-09-03 18:45:53 +03:00
Grigory Smolkin
6d0016295a
PGPRO-428: comments fix
2018-09-03 18:06:11 +03:00
Grigory Smolkin
cc42c5558e
PGPRO-428: validation and revalidation rework based on parent_backup_link
2018-09-03 17:31:04 +03:00
Grigory Smolkin
26bd9cf20e
PGPRO-1921: fix segfault in show when backup with provided BACKUP_ID do not exists
2018-08-30 14:37:13 +03:00
Grigory Smolkin
2e9a5b99c9
tests: added test_page_backup_with_alien_wal_segment
2018-08-16 11:54:06 +03:00
Grigory Smolkin
5b55a577c0
change extractPageMap() declaration
2018-08-16 11:52:55 +03:00
Grigory Smolkin
0de51e579c
remove prev_seg flag from extractPageMap(), make doExtractPageMap() more greedy
2018-08-16 09:23:02 +03:00
Grigory Smolkin
06ac24dd44
Merge remote-tracking branch 'origin/pgpro-427'
2018-08-15 18:32:53 +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
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
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
0076462f65
Merge branch 'pgpro-1286-no-validation-restore'
2018-07-18 08:44:13 +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
dddf88556e
Merge branch 'master' into pgpro-1726
2018-07-14 02:46:32 +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
Grigory Smolkin
963eb2e2c6
check for interrupt more frequently
2018-07-11 10:29:36 +03:00
Grigory Smolkin
1b70807d38
tests: fix archive tests
2018-07-06 20:41:49 +03:00
Grigory Smolkin
3080228453
fix: add restore-target-name to validate --help. Submitted by Ludmila Mantrova.
2018-07-04 18:37:36 +03:00
Grigory Smolkin
efc0c8cda3
bugfix: WAL delivery timeout could cause PostgreSQL instance to be left in in_backup state
2018-06-07 12:22:45 +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
93640d2825
Remove implicit immediate restore target when none other is provided. All restore target should be explicit
2018-05-01 13:47:01 +03:00
Grigory Smolkin
f549245281
tests: minor changes for 9.5
2018-05-01 13:41:17 +03:00
Grigory Smolkin
a8643740bc
Version 2.0.17
...
- Fix: correct handling for tablespaces located in PGDATA
- Fix: avoid deadlock in log file opening
- Fix: check PQresultStatus for pg_stop_backup()
- Fix: null-sized files were not copied to backup
- Impromevent: correct thread exit
- Impromevent: correct message about start/stop WAL streaming
- Impromevent: revalidation of CORRUPT and ORPHAN backups is now possible via 'validate' command
- New backup options:
'-b DELTA' - new incremental backup mode;
- New restore options:
'--immediate' - end recovery as soon as a consistent state is reached;
'--recovery-target-name=pause|promote|shutdown' - an action the PostgreSQL should take at the end of the recovery, default is 'pause';
'--recovery-target-name=target-name' - the named restore point to which recovery will proceed;
'-R (--write-recovery-conf)' - write a minimal recovery.conf in the output directory, to ease setting up a standby server;
- Adjust README
2018-04-29 04:42:38 +03:00
Grigory Smolkin
e3685e83b7
tests: minor fixes
2018-04-28 18:49:34 +03:00