Grigory Smolkin
9d9a885734
optimization: close connection in thread when it`s not needed
2018-01-23 13:39:49 +03:00
Grigory Smolkin
0d3f145398
fix segfault in parallel ptrack backups
2018-01-23 13:36:49 +03:00
Grigory Smolkin
1fbea2dc14
tests: minor fix
2018-01-18 18:56:33 +03:00
Grigory Smolkin
9e44d505bc
tests: changes to tests.README and minor corrections
2018-01-18 17:15:21 +03:00
Grigory Smolkin
e1e628110c
add compress option to help
2018-01-18 05:02:02 +03:00
Grigory Smolkin
e6122e3f42
minor fix to validate
2018-01-18 05:01:30 +03:00
Grigory Smolkin
830bcfdc6a
bugfixes:
...
- if block is invalid after 100 read attempts then throw an error
- if block is invalid after first read attempt then instead of additional 99 atempts use pg_ptrack_get_block if ptrack is supported
2018-01-18 04:56:12 +03:00
Grigory Smolkin
68e2742da0
tests: major fixes
2018-01-18 04:35:27 +03:00
Grigory Smolkin
45923cf9c7
tests: minor fix validate_test
2018-01-17 21:23:57 +03:00
Grigory Smolkin
fb1eb3cd20
tests: minor fixes, backup_test PEP8
2018-01-17 21:15:49 +03:00
Grigory Smolkin
d6a2d36403
tests: minor fixes, new tests for ptrack
2018-01-17 20:51:43 +03:00
Grigory Smolkin
ecd6d1187d
disable debug message
2018-01-17 13:40:41 +03:00
Anastasia
c981bf737f
Version 2.0.14
...
- fixed race conditions in ptrack and page backups
- fixed parallel ptrack backup interruption
- added new backup state 'ORPHAN' which means that one of previous backups is corrupted
2018-01-17 10:46:29 +03:00
Grigory Smolkin
3d0fcdf9b0
tests: added test_page_vacuum_truncate
2018-01-16 18:46:55 +03:00
Grigory Smolkin
2f08a4b624
Merge remote-tracking branch 'origin/pgpro-1303'
2018-01-16 16:36:36 +03:00
Anastasia
073066b6a2
fix interrupts handlers for parallel connections
2018-01-16 15:19:48 +03:00
Arthur Zakirov
2a87b31c4f
PGPRO-1303: delete_walfiles() removes compressed WAL files too
2018-01-16 14:40:02 +03:00
Anastasia
1ff4dde4ad
fix parallel execution of pg_ptrack_get_block()
2018-01-16 14:16:50 +03:00
Anastasia
7ee0803849
make pg_probackup compatible with ptrack 1.5;
...
cleanup the code;
fix parallel pg_ptrack_get_block()
2018-01-16 11:54:15 +03:00
Anastasia
0905edfdb9
Merge branch 'master' into fix_ptrack_1230
2018-01-15 18:18:55 +03:00
Anastasia
7e28977a03
check is data_checksums are enabled in postgres instance
2018-01-15 17:58:44 +03:00
Anastasia
5b5fe6ea5c
fix restore of the truncated files. code cleanup
2018-01-15 16:33:17 +03:00
Anastasia
0c2ce64c1b
fix restore of the truncated files
2018-01-15 15:35:51 +03:00
Arthur Zakirov
97d028efbb
Merge branch 'pgpro-1207'
2018-01-15 12:12:53 +03:00
Anastasia
b81f74011e
Merge branch 'master' into fix_ptrack_1230
2018-01-15 11:39:14 +03:00
Grigory Smolkin
b2f5ae5727
tests: compare_pgdata now can track extra pages in restored files
2018-01-14 17:32:43 +03:00
Anastasia
ac195f47b6
truncate restored files when necessary
2018-01-14 15:45:56 +03:00
Anastasia
07a1630a65
fix for parallel truncate
2018-01-12 21:11:09 +03:00
Anastasia
9255205263
Merge branch 'master' into fix_ptrack_1230
2018-01-12 16:29:32 +03:00
sfalkon
3abbc5d6e2
- fix auth_test
...
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:38:32 +03:00
sfalkon
3cfb8e2242
- fix auth_test
...
- add -W options to case: test_right_password_and_wrong_pgpass
2018-01-12 11:27:33 +03:00
Grigory Smolkin
8de10e25aa
minor fix for base36enc
2018-01-11 20:27:08 +03:00
Grigory Smolkin
eef374e267
Merge remote-tracking branch 'origin/pgpro-1248'
2018-01-10 21:24:00 +03:00
Grigory Smolkin
8d8a70f886
Merge branch 'pgpro-1248'
2018-01-10 21:18:31 +03:00
Arthur Zakirov
d96e8e24f2
PGPRO-1207: Add -W (--password) option
2018-01-10 19:17:38 +03:00
Grigory Smolkin
1fad089a66
tests: another minor fix
2018-01-10 16:08:25 +03:00
Grigory Smolkin
48017e6410
tests: minor fix
2018-01-10 16:05:26 +03:00
Grigory Smolkin
0de4ec09ab
tests: PGPRO-1230 ptrack race condition tests
2018-01-10 16:03:33 +03:00
Anastasia
389c82fffb
use pg_ptrack_get_block_2 to read block by relfilenode without relcache
2017-12-28 16:28:38 +03:00
Anastasia
109b9968cc
fix databaseOID usage for pg_ptrack_get_block()
2017-12-28 15:09:10 +03:00
Grigory Smolkin
f97fab6c89
tests: minor fix
2017-12-28 12:55:32 +03:00
Grigory Smolkin
6ccaed5ccd
tests: simple ptrack test
2017-12-28 12:27:40 +03:00
Grigory Smolkin
7bb2177bb8
tests: page_get_block added
2017-12-28 12:02:53 +03:00
Grigory Smolkin
0f85328399
tests: pgdata_compare block-level granularity
2017-12-28 11:52:18 +03:00
Anastasia
c5f0787453
Fix. Pages read via SQL don't have checksum, so calculate it at the backup side. It's an arguable decision, but at least now we are able to test other possible issues.
2017-12-27 19:34:07 +03:00
Anastasia
59477414c6
fix reading the block for ptrack backups
2017-12-27 18:49:30 +03:00
Anastasia
933135a594
Merge branch 'master' into fix_ptrack_1230
2017-12-27 15:32:09 +03:00
Anastasia
fe5a5fb444
refactoring to read block via SQL for ptrack backups
2017-12-27 15:31:15 +03:00
Arthur Zakirov
41de50c385
PGPRO-692: Use .partial suffix instead of .temp
2017-12-26 11:11:04 +03:00
Grigory Smolkin
ab59860dc9
tests: minor improvements
2017-12-25 11:28:25 +03:00