1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-09 14:45:47 +02:00
Commit Graph

1490 Commits

Author SHA1 Message Date
Grigory Smolkin
cb805f7e7c tests: added tests.retention_test.RetentionTest.test_retention_window_3 2019-03-11 14:53:32 +03:00
Grigory Smolkin
b20d04e55f Merge branch 'master' into pgpro-2079 2019-03-09 14:26:05 +03:00
Grigory Smolkin
21434cdc63 tests: minor fixes for merge module 2019-03-09 14:25:50 +03:00
Grigory Smolkin
31d2611ac4 Merge branch 'master' into pgpro-2079 2019-03-09 13:36:50 +03:00
Grigory Smolkin
d580907b6d tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control_2 2019-03-09 13:36:21 +03:00
Grigory Smolkin
edcdbf5eb3 tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control 2019-03-09 12:43:04 +03:00
Grigory Smolkin
a1404d86b5 tests: added delete_test.DeleteTest.test_delete_backup_with_empty_control_file() 2019-03-07 16:17:04 +03:00
Arthur Zakirov
bd7b9bb4a1 PGPRO-2079: Use .partial file to write backup configuration files backup.control and backup_content.control 2019-03-06 14:21:20 +03:00
Anastasia
38bd369145 PGPRO-2413. Use PG_LIBS_INTERNAL instead of PG_LIBS to link with libpq library within build tree 2019-03-04 17:09:00 +03:00
Arthur Zakirov
e9190e6cc3 tests: update help test 2019-03-04 16:47:21 +03:00
Arthur Zakirov
04ff6f8fac Inherit WAL mode from the PAGE backup 2019-03-04 16:40:11 +03:00
Grigory Smolkin
a50ffed5d4 tests: add test_merge_different_wal_modes 2019-03-03 02:35:06 +03:00
Grigory Smolkin
2466e51871 tests: fix gdbobject method continue_execution_until_break() 2019-03-02 02:29:58 +03:00
Grigory Smolkin
322b3f0b21 tests: fixes for PG 9.5 2019-03-01 19:19:56 +03:00
Grigory Smolkin
53bd83bfcd fix temp replication slot for PG >= 11 2019-03-01 18:40:29 +03:00
Grigory Smolkin
d9cb01a167 tests: added backup_test.BackupTest.test_persistent_slot_for_stream_backup() and backup_test.BackupTest.test_temp_slot_for_stream_backup() 2019-03-01 16:29:47 +03:00
Arthur Zakirov
4d8a9437ad MERGE fix: Update program_version of the target backup, recalculate CRC of a unchanged file 2019-03-01 16:17:02 +03:00
Grigory Smolkin
98bc12d535 new flag '--temp-slot' allows user to use temporary slot for STREAM backups, if no slot name is specified via '--slot' option - default name 'pg_probackup_slot' is used 2019-03-01 16:09:53 +03:00
Konstantin Knizhnik
4097e10754 Fix printing NULL values 2019-03-01 11:18:09 +03:00
Grigory Smolkin
6e9a5793ef mark --replica-timeout as deprecated 2019-03-01 02:41:13 +03:00
Grigory Smolkin
094dc8b166 mark master-* options as deprecated 2019-03-01 00:44:33 +03:00
Grigory Smolkin
75b0ff2881 tests: minor fixes 2019-02-28 21:12:32 +03:00
Grigory Smolkin
4aab7c488b tests: added compatibility.test_backward_compatibility_merge() 2019-02-28 20:09:11 +03:00
Arthur Zakirov
1692cbef61 Add merge_time for backup 2019-02-28 19:09:36 +03:00
Konstantin Knizhnik
e554d265a5 Assign end_time in MERGE 2019-02-28 18:45:59 +03:00
Grigory Smolkin
7a34dbe5f8 fix condition for elog message about compression level 0 2019-02-28 17:54:45 +03:00
Grigory Smolkin
093e597ac8 tests: remove deprecated modules 2019-02-28 17:07:41 +03:00
Grigory Smolkin
b6c43f93d2 tests: compression.test_uncompressable_pages() added 2019-02-28 17:06:33 +03:00
Grigory Smolkin
b2514b9a0a allow user to specify compress-level=0 2019-02-28 16:55:11 +03:00
Grigory Smolkin
b0f8b8725f minor fix in elog message about block validation 2019-02-28 16:31:46 +03:00
Konstantin Knizhnik
65099ca8d7 Fix checking unlink result 2019-02-28 15:53:56 +03:00
Grigory Smolkin
ba8410686b Version 2.0.27
- Bugfix: reading of compressed WAL files was very slow, it happened because xlogreader was in habit of reading XLOG page twice, which breaks zlib optimization for sequential access. See https://commitfest.postgresql.org/22/1994 for additional info. Reported by Alex Ignatov.
- Bugfix: previously path to PGDATA was not canonicalized. On Windows this could lead to producing empty backups. Additionally during investigation another bug was found: readdir() silently ignored 'permission denied' errors. See https://www.postgresql.org/message-id/2cad7829-8d66-e39c-b937-ac825db5203d%40postgrespro.ru for additional info. Reported by Yuri Kurenkov.
- Bugfix: archive-push didn`t use O_EXCL flag when creating '.partial' file, in rare case of two PostgreSQL instances concurrently pushing the same WAL segment it could lead to corruption of pushed WAL segment.
- Minor bugfix: disappeared during backup files were marked as 'not changed', now they just evicted from file list.
- Minor bugfix: skip 'log' directory during backup for PG >= 10. Reported by triwada.
- Improvement: previously locking was done at instance level, because of that concurrent operations were impossible, now it is done at the backup level, so restore of backup A won`t interfere with validation of backup B.
- Improvement: previously restore was relying on sort order when restoring incremental backups, now it`s relying on parent chain.
- Minor improvement: when using show command "Time" for RUNNING backups now calculated on the fly.
- Minor improvement: START LSN of backup now written to backup meta right after receiving, not at the end of the backup. It will be needed for "resume" feature.
2019-02-28 11:02:25 +03:00
Grigory Smolkin
5b69fe2833 help fix for Issue 50 2019-02-28 11:02:13 +03:00
Grigory Smolkin
2ce874c557 minor bugfix based on Issue 50: 'pg_log' in PG10 was renamed to 'log' 2019-02-28 00:30:37 +03:00
Grigory Smolkin
ee6860f054 minor fix: use upper register for SQL 2019-02-27 19:16:25 +03:00
Arthur Zakirov
ef2abc31bf Write WAL files with O_EXCL during archive-get and archive-push 2019-02-27 17:09:39 +03:00
Arthur Zakirov
6c7ab25f06 Canonicalize PGDATA path 2019-02-27 12:05:47 +03:00
Grigory Smolkin
20de566010 tests: minor fixes 2019-02-26 21:26:30 +03:00
Grigory Smolkin
c3aa3f0cff minor spell fix 2019-02-25 17:13:10 +03:00
Grigory Smolkin
94a8a24e34 minor bugfix: check that PGDATA is not empty, following https://github.com/postgrespro/pg_probackup/issues/48 2019-02-25 17:12:02 +03:00
Grigory Smolkin
ec2aa7f000 tests: move all ptrack tests to ptrack module 2019-02-24 23:20:42 +03:00
Grigory Smolkin
d1cb537a90 TODO about different exit codes for validation 2019-02-22 19:38:07 +03:00
Grigory Smolkin
9243a8a399 Merge branch 'pgpro-1918' 2019-02-22 19:33:41 +03:00
Arthur Zakirov
ff4d470b6f PGPRO-1918: Report skipped backups because of locks 2019-02-22 15:12:54 +03:00
Arthur Zakirov
ad5449f1b2 PGPRO-1918: Add more informative messages 2019-02-20 13:29:16 +03:00
Grigory Smolkin
883464fdfc PGPRO-1918: added test_locking_restore_locked_without_validation() 2019-02-19 15:42:18 +03:00
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