Arthur Zakirov
aab0ce3615
PGPRO-2180: Fix stop_streaming(), read recovery info using valid stop LSN
2018-11-22 14:44:57 +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
Arthur Zakirov
6ea7c61c33
PGPRO-2180: Retreive stop_lsn from previous WAL segment
2018-11-20 16:33:36 +03:00
Arthur Zakirov
bbac29a29c
PGPRO-2071: Use local dbname to connect to a server to get ptrack pagemap
2018-11-19 17:08:56 +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
Sergey Cherkashin
f53395529b
Refactored calc_file_checksum()
2018-11-15 18:22:43 +03:00
Arthur Zakirov
eb15c16967
Merge branch 'master' into pgpro-2071
2018-11-15 15:22:42 +03:00
Arthur Zakirov
d04d314eba
Keep compiler quite
2018-11-15 11:46:42 +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
Sergey Cherkashin
6deb3bbe2b
fileEqualCRC() refactoring
2018-11-14 18:17:28 +03:00
Sergey Cherkashin
4befefada2
Skip copy WAL file to archive if already exists
2018-11-14 18:17:28 +03:00
Victor Spirin
0e445a99e8
Removed obsolete scripts and project templates for Windows
2018-11-14 18:10:57 +03:00
Arthur Zakirov
8505e78c91
Bug fix: do not add root slash for pg_wal path
2018-11-13 18:15:19 +03:00
Arthur Zakirov
4a1ca601af
PGPRO-2160: to_files may be uninitialized if from_backup has BACKUP_STATUS_DELETING
2018-11-13 15:49:09 +03:00
Victor Wagner
cc6e2f83bf
Merge commit '3500323c8784af1f04d8ef1acf7d020e6188e7a4' into PGPRO11_DEV
2018-11-13 15:04:34 +03:00
Victor Wagner
a769f47217
Fix compilation under FreeBSD and Solaris
2018-11-13 15:03:26 +03:00
Anastasia
3500323c87
Merge branch 'master' into stable
2018-11-13 14:06:45 +03:00
Victor Wagner
3ad3a6d9cb
Merge commit '63be064c9fd10689afee9531f4fa8e3b3b5b382e' into PGPRO11_DEV
2018-11-13 13:46:43 +03:00
Victor Spirin
5179f0219f
Changed the script for creating the Windows project
2018-11-13 13:46:29 +03:00
Anastasia
63be064c9f
Merge branch 'master' into stable. Fixes for portability v2.0.24
2018-11-13 13:28:44 +03:00
Victor Spirin
0a510f7211
Some fixes for windows build
2018-11-13 13:11:26 +03:00
Victor Wagner
cd6734f3f5
Merge commit 'ac1c246c594f22f06d1cded5b3ff8ae70ee39b02' into PGPRO11_DEV
2018-11-12 16:30:59 +03:00
Arthur Zakirov
1e9615f567
Use InvalidXLogRecPtr to mark infinite end, a couple code cleanup
2018-11-12 15:44:22 +03:00
Anastasia
ac1c246c59
Merge branch 'master' into stable
2018-11-12 12:45:32 +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
03c9fba7bd
PGPRO-1892: Remove obsolete INFO message
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
5b41a106b7
Merge branch 'pgpro-2095'
2018-11-10 21:16:42 +03:00
Anastasia
4995652ef5
fix decompression of BLCKSZ pages
2018-11-10 15:49:36 +03:00
Grigory Smolkin
12a6dcdd93
PGPRO-1905: check message about system id mismatch
2018-11-09 18:45:29 +03:00
Arthur Zakirov
77c59158be
PGPRO-2071: Refactor pg_probackup configure set/get, use InstanceConfig
2018-11-09 18:45:05 +03:00
Anastasia
4870fa7f68
more informative error message for failed WAL record read
2018-11-09 13:59:56 +03:00
Anastasia
141ba33000
fix: close file after validation
2018-11-08 20:49:30 +03:00
Anastasia
c530d28869
change datafile validation algorithm:
...
- validate file block by block by default, not only in case of file-level checksum corruption;
- add an option: --skip-block-validation to disable this behaviour;
- calculate file checksum at the same time as validate blocks;
2018-11-08 19:38:22 +03:00
Arthur Zakirov
a0ec849b4a
We should check only negative return values
2018-11-08 18:13:42 +03:00
Arthur Zakirov
cf6e7445e5
Remove .autosave
2018-11-08 15:51:58 +03:00
Arthur Zakirov
53c1a05b9b
Remove unnecessary validate_backup_version
2018-11-08 15:50:24 +03:00
Konstantin Knizhnik
728e3d5bdc
Avoid compression warnings for already compressed pages
2018-11-08 15:25:28 +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
Konstantin Knizhnik
5e12fec6ab
Eliminate unsued varaibles
2018-11-08 12:43:19 +03:00
Konstantin Knizhnik
05e3211e27
Provide backward compatibility for decompression bug
2018-11-08 12:27:42 +03:00