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
|
5b3a733b37
|
tests for external directories: merge tests added
|
2019-02-22 21:19:56 +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 |
|
Grigory Smolkin
|
8c9dcbec70
|
PGPRO-1918: disable wal validation for RUNNING and ERROR backups
|
2019-02-18 20:16:45 +03:00 |
|
Grigory Smolkin
|
c4259b856b
|
PGPRO-1918 tests: minor fixes
|
2019-02-18 20:09:09 +03:00 |
|
Arthur Zakirov
|
e91e9d87a6
|
PGPRO-1918: Check RUNNING
|
2019-02-18 19:05:45 +03:00 |
|
Grigory Smolkin
|
ac3b0175d4
|
PGPRO-1918 tests: added test_locking_running_validate_2_specific_id()
|
2019-02-18 18:16:53 +03:00 |
|
Grigory Smolkin
|
49705d73f4
|
tests: fix test_archive_node_backup_archive_pitr_2()
|
2019-02-18 17:20:13 +03:00 |
|
Arthur Zakirov
|
8960f2aae2
|
PGPRO-1918: Consider lock_backup()'s result
|
2019-02-18 16:55:46 +03:00 |
|
Arthur Zakirov
|
3b91712e1a
|
Merge remote-tracking branch 'origin/master' into pgpro-1918
|
2019-02-18 14:48:24 +03:00 |
|
Grigory Smolkin
|
0aa14030f6
|
tests: added test_tablespace_handling_1() and test_tablespace_handling_2()
|
2019-02-17 15:34:59 +03:00 |
|
Grigory Smolkin
|
3474784895
|
tests: rename some locking tests
|
2019-02-16 15:29:59 +03:00 |
|
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 |
|
Sergey Cherkashin
|
1be24f3e7c
|
Fix creating "database" directory in backup
|
2019-02-13 17:39:32 +03:00 |
|
Sergey Cherkashin
|
92788fe4b3
|
Use palloc0() instead of palloc() when working with external directories
|
2019-02-13 13:07:24 +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 |
|
Sergey Cherkashin
|
a12fe744f9
|
Make possible to backup database dir as exrta dir
|
2019-02-11 20:29:52 +03:00 |
|
Grigory Smolkin
|
687677fa92
|
Merge branch 'pgpro_2370'
|
2019-02-11 20:15:50 +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 |
|
Arthur Zakirov
|
c052651b8c
|
PGPRO-2432: Expand 04a7d45647 to usual files
|
2019-02-11 19:09:21 +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 |
|
Arthur Zakirov
|
04a7d45647
|
PGPRO-2432: Improve reading of compressed WAL's if Postgrestries to read same record many times
|
2019-02-11 15:16:59 +03:00 |
|
Grigory Smolkin
|
bed0a45121
|
minor bugfix: dissapeared during backup files were marked as 'not changed', now such files are removed from backup_list at the end of the backup
|
2019-02-09 12:19:41 +03:00 |
|
Grigory Smolkin
|
10b8db397a
|
tests: minor fix to restore tests
|
2019-02-09 02:30:22 +03:00 |
|
Grigory Smolkin
|
628cdce778
|
PGPRO-2425: previously successfull restore was relying on that there are no failed backups between base_full_backup and dest_backup, it could lead to false-positive validation or restore errors despite the fact that parent chain is valid. There even was a small chance of data corruption: if between base_full_backup and dest_backup were located backups from parallel chain. TLDR: restore was rolling backups blindly. See test test_restore_chain_with_corrupted_backup() for an example.
|
2019-02-09 02:15:06 +03:00 |
|