1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-24 08:52:38 +02:00
Commit Graph

3516 Commits

Author SHA1 Message Date
Yura Sokolov
4505def249 properly skip ptrack tests. 2022-11-15 11:27:06 +03:00
Yura Sokolov
4869a564d0 [PBCKP-336] Fix segno calculation.
It were lost during fork-name detection fix at eaf3b14c22 .
And since there were no basic test for this, it were not detected.
2022-11-14 13:04:09 +03:00
asavchkov
7b62d11056
Merge pull request #564 from postgrespro/respect-path
Respect PATH in a  pg_probackup binary check
2022-11-10 17:46:52 +07:00
Alexey Savchkov
d7cc00b358 Check pg_probackup binary in PATH 2022-11-10 01:02:29 +07:00
Yura Sokolov
04e05b151d Fix auth_test.py 2022-11-09 12:17:10 +03:00
Ivan Lazarev
cda016c955 [PBCKP-304] removed ProbackupTest.clean_all() GC magic, simplified ProbackupTest.tearDown() 2022-11-09 03:44:47 +03:00
Ivan Lazarev
a2c1e6d6b4 [PBCKP-304] removed direct calls to ProbackupTest.del_test_dir() from tests 2022-11-09 02:50:36 +03:00
Ivan Lazarev
39e06f576b [PBCKP-304] test dirs cleanup fixed - added logic for nodes GC and dirs cleanup 2022-11-09 01:56:11 +03:00
Ivan Lazarev
9f3f530ec7 [PBCKP-304] extracted all cleanup routines to ptrack.py.TearDown() 2022-11-09 01:55:28 +03:00
Yura Sokolov
b17669c969 [PBCKP-146] add test for "unchanged cfm is not backuped" 2022-11-03 11:51:40 +03:00
Yura Sokolov
7cadc3378c [PBCKP-146] fix filesize filling
file->size were not filled while reading backup filelist.
That lead to excess non-data file backups.
2022-11-03 11:51:40 +03:00
Yura Sokolov
693bffe08d [PBCKP-146] fix cfm truncated crc calculation in delta/page backup
- On backup we should compare truncated crc with previous version.
- copying remote file didn't honor "don't truncate first 64 bytes" rule.
- crc calculation didn't honoer "don't truncate first 64 bytes" rule.
2022-11-03 11:50:30 +03:00
Ivan Lazarev
bc945994de [PBCKP-304] auto tests cleanup added to ptrack_helper.py 2022-11-03 07:04:34 +03:00
Ivan Lazarev
fc8b89079b [PBCKP-304] fix cfs_restore test 2022-11-03 07:04:34 +03:00
Ivan Lazarev
03f210b2be [PBCKP-304] cfs tests moved back to build 2022-11-03 07:04:34 +03:00
Yura Sokolov
85708251bb fix for forkname detection in get_backup_filelist 2022-11-03 03:40:35 +03:00
Yura Sokolov
a8ee334c3f [PBCKP-235] fix one test for <15.0 2022-11-03 03:40:35 +03:00
Yura Sokolov
eaf3b14c22 fix set_forkname
Fork detection were broken before set_forkname extraction, and its bug
were copied into.

Lets reimplement it to be like `parse_filename_for_nonetemp_relation` in
PostgreSQL code.
2022-11-03 03:40:35 +03:00
Yura Sokolov
0c7c78b8e8 Merge branch 'REL_2_5-PBCKP-146-2' into REL_2_5 2022-11-02 22:32:09 +03:00
Yura Sokolov
34af0255cd Merge branch 'master' into REL_2_5 2022-11-02 17:24:03 +03:00
Victor Spirin
feacabd8ab [PBCKP-308] Changed check_server_version function for postgresql version for 1c. 2022-11-02 14:25:12 +03:00
Ivan Lazarev
ba6b240965 hotfix-2 for C89 compatibility from branch 'REL_2_5-PBCKP-236' into REL_2_5 2022-11-01 14:41:42 +03:00
Ivan Lazarev
64b84d0ca6 [PBCKP-236] hotfix-2 for C89 compatibility 2022-11-01 14:41:02 +03:00
Yura Sokolov
e36924a0fd [PBCKP-146] review fixes 2022-11-01 12:53:46 +03:00
Ivan Lazarev
d9f798eedb Merge C89 hotfix from branch 'REL_2_5-PBCKP-236' into REL_2_5 2022-11-01 12:10:38 +03:00
Ivan Lazarev
0b474d2616 [PBCKP-236] hotfix for C89 2022-11-01 11:53:17 +03:00
Ivan Lazarev
10a5b46369
Merge pull request #554 from postgrespro/REL_2_5-PBCKP-236
[PBCKP-236] added ssh agent full path to log output, merge to REL_2_5 from REL_2_5-PBCKP-236
2022-10-31 23:32:17 +03:00
MetalDream666
ed02b35493
Merge pull request #556 from postgrespro/PBCKP-120
[PBCKP-120] skip partitioned indexes for checkdb --amcheck
2022-10-29 15:44:40 +03:00
Sofia Kopikova
0b8cf419c3 [PBCKP-120] skip partitioned indexes for checkdb --amcheck
Tags: pg_probackup
2022-10-29 01:22:52 +03:00
MetalDream666
4cde8798fb
Merge pull request #555 from postgrespro/revert-498-PBCKP-120
Revert "[PBCKP-120] skip partitioned indexes for checkdb --amcheck"
2022-10-29 01:19:42 +03:00
MetalDream666
79009c652c
Revert "[PBCKP-120] skip partitioned indexes for checkdb --amcheck" 2022-10-29 01:17:13 +03:00
MetalDream666
dfb8b1f316
Merge pull request #498 from postgrespro/PBCKP-120
[PBCKP-120] skip partitioned indexes for checkdb --amcheck
2022-10-29 01:13:10 +03:00
Ivan Lazarev
1a48b6c595 [PBCKP-236] added remote shh agent path to log output 2022-10-28 19:40:15 +03:00
Daniel Shelepanov
4728756e21
Merge pull request #553 from postgrespro/PBCKP-235
[PBCKP-235] README.md now contains correct package versions
2022-10-27 20:04:08 +03:00
Daniel Shelepanov
4ac1b536a5 [PBCKP-235] README.md now contains correct package versions
tags: pg_probackup
2022-10-27 19:32:28 +03:00
Ivan Lazarev
f2df286677
Merge pull request #531 from postgrespro/REL_2_5-PBCKP-236
[PBCKP-236] merge into REL_2_5
2022-10-27 17:10:12 +03:00
dlepikhova
97355f1562
release_2_5_9-pbckp-227 (#533)
[PBCKP-227]: Fix some potential problems in pg_probackup code
* Fix fwrite parameters in fio_open_stream
* Remove unused get_system_dbstate function
* Set actual sourse for fields in instance_options to SOURCE_DEFAULT
* Remove get_system_dbstate declaration from header file
2022-10-26 18:34:36 +05:00
Ivan Lazarev
26f9992b2a [PBCKP-236] added PGPROBACKUP_MANUAL testing and PGPROBACKUP_SSH_AGENT_PATH flags. 2022-10-25 03:13:12 +03:00
Yura Sokolov
f253798250 [PGPRO-146] cfs_catchup test
Test full catchup and delta catchup.
2022-10-24 21:57:55 +03:00
Yura Sokolov
a20eb7bddb [PGPRO-146] pgdata_content: checksum for truncated cfm 2022-10-24 21:57:14 +03:00
Yura Sokolov
302db1c49f [PGPRO-146] store at least cfs header size bytes. 2022-10-24 20:35:29 +03:00
Yura Sokolov
5f71f7710f fix fio_send_file_local 2022-10-24 17:28:07 +03:00
Yura Sokolov
2eaeb942c6 [PBCKP-146] add test for cfm size 2022-10-24 17:16:19 +03:00
Yura Sokolov
202f2ade7f find_zero_tail: fix last bytes check 2022-10-24 17:16:14 +03:00
Yura Sokolov
b568f2254a [PBCKP-146] truncate cfm files
- store cfm files truncated to non-zero head with coarse granularity
  (64-4096 bytes)
- and calculate crc for truncated file
- during restoration calculate crc for cfm as if it was truncated
2022-10-20 19:58:54 +03:00
Andrew A. Bille
3e17c8c8da Fix remembered check gdb flag in test with GDB 2022-10-20 11:22:26 +03:00
Yura Sokolov
ed47e4925d Merge branch 'REL_2_5-some-fixes' into REL_2_5 2022-10-13 16:32:22 +03:00
Sokolov Yura
3c1fadcf09
Merge pull request #546 from postgrespro/REL_2_5-some-fixes
Small fixes
2022-10-13 14:28:12 +03:00
Yura Sokolov
51a141c4b0 [PBCKP-146] fix cfs test python3 compatibility 2022-10-13 14:27:40 +03:00
Yura Sokolov
8f504fc95c [PBCKP-146] stabilize couple of tests. 2022-10-13 14:27:40 +03:00