1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-14 06:54:15 +02:00
Commit Graph

3548 Commits

Author SHA1 Message Date
610216c6f8 ptrack_helpers.py: fix compare_pgdata 2023-01-13 15:31:12 +03:00
b240b90772 fix for < Pg12 2023-01-13 09:38:48 +03:00
d3babee2ae [PBCKP-287] simplify and fix cfs chaining
- properly chain only main fork and cfs related forks
- properly chain datafile with its cfm even sort order places other
  segments between
- don't raise error for system tables which has no companion cfm.

+ fix couple of tests
2023-01-12 17:30:54 +03:00
2f27142009 [PBCKP-287] skipping data_bck_file+cfm_bck_file on backup when they both exist 2023-01-12 14:32:48 +03:00
612f530de0 [PBCKP-287] fix. added cfs files grouping and processing cfs segment in single thread manner 2023-01-12 14:32:48 +03:00
343c6a0f98 [PBCKP-423] add '.partial.part' detection as well
Purposes are:
- to not issue WARNING
- to remove file properly in delete_walfiles_in_tli
2023-01-12 00:26:45 +03:00
fa2902090a [PBCKP-423] and backport cleanup_ptrack for test_archive_push_sanity 2023-01-12 00:04:47 +03:00
22bdbb3915 [PBCKP-423] test_archive_push_sanity: wait logs with tail_file
(and some other test as well).
2023-01-11 23:37:45 +03:00
8f4e7d6e5f [PBCKP-346] archive-get doesn't need -D/--pgdata argument at all 2022-12-22 06:05:51 +03:00
764680e23f Merge branch 'REL_2_5' 2.5.11 2022-12-15 22:47:46 +03:00
bbe41a403d Fix tests test_restore_from_fullbackup_to_new_location and test_restore_from_fullbackup_to_new_location_5_jobs 2022-12-15 13:37:15 +03:00
640e7a5dcd Update README.md 2022-12-14 17:42:15 +03:00
30e3e37c7b Update README.md 2022-12-14 16:09:53 +03:00
b90273fe14 Increment the expected test version 2022-12-13 22:50:17 +07:00
10ac3c9918 [PBCKP-402] bound check for abortedRecPtr to Pg15
It is not really needed in previous versions.
It doesn't harm, but we want to reduce tests amount.
2022-12-13 13:09:34 +03:00
24f12d98d9 [PBCKP-402,PBCKP-354] refix "missing contrecord" detection.
Error message is translated according to current locale. So we can't
compare it as a string. But `abortedRecPtr` exists exactly for this case,
so we can rely on it.
2022-12-13 02:52:18 +03:00
9391a1b676 Increment the version 2022-12-13 00:01:03 +07:00
b74ec9046d Update Readme 2022-12-12 22:31:14 +07:00
076e3fdae9 [PBCKP-394] skip creating partitioned index on < 11 versions on test_checkdb_amcheck_only_sanity 2022-12-12 15:46:17 +03:00
822fbbfe50 [PBCKP-326] regex fixed in test_missing_replication_permission_1
Everything between WARNING and FATAL sections is now handled with the [\s\S]*? regex:
* [\s\S] is a group that handles any whitespace and non-whitespace character including new lines which are important in this case.
* "*" quantifier means zero or more characters. There may as well be nothing between these two sections.
* "?" quantifies in this case means greedy search so that we don't match more than we need.
2022-12-08 13:53:51 +03:00
25e63c5a7c raw strings in python regex; ignore generated transation files
Author: Sergey Fukanchik
2022-12-08 07:44:12 +03:00
15c304ad6c [PBCKP-375] Prepared for moving RelFileNode to RelFileLocator in the PG16. 2022-12-07 14:21:50 +03:00
3bc0fc4b81 Documentation hot fix 2022-12-07 13:35:25 +03:00
29a9efb4d4 [PBCKP-325] refix test_issue_231
to make two backups in one second we have to fail them.
Therefore we have to fetch backup_id from log in exception's message.

Retry for 20 seconds to have a chance to start in one second.
If we couldn't, lets skip the test.
2022-12-06 14:17:04 +03:00
bef73b8ba6 more usages for table_checksum 2022-12-06 01:59:14 +03:00
6bd71d866d [PBCKP-382] and another one Pg15 pg_backup_stop() 2022-12-06 01:51:22 +03:00
f032861577 Merge branch 'PBCKP-382-bug_15_compat' into 'REL_2_5'
[PBCKP-382] version 15 compatibility bug

See merge request eepbk/pg_probackup_ee!13
2022-12-06 01:50:00 +03:00
3109634ecb [PBCKP-325] change test_issue_231 to check backup id are different 2022-12-05 15:49:12 +03:00
c42f68ecca [PBCKP-382] version 15 compatibility bug 2022-12-05 11:21:19 +03:00
0f7e01b7f3 try travis without docker 2022-12-04 14:16:02 +03:00
f2f47f7734 get rid of plpython usage 2022-12-04 05:33:52 +03:00
fc50cf0ddf tests: fix
travis uses old image with python3.5
2022-12-04 04:24:55 +03:00
02e3fb0477 tests: table_checksum needs no sorting in fact
since we are compare table content exactly
2022-12-04 04:15:55 +03:00
8d8a92c1d1 tests: more usages for table_checksum
and reduce batch twice for sanity
2022-12-02 16:56:54 +03:00
9bcefb2569 [PBCKP-327] test_ptrack_multiple_segments: try to avoid memory consumption 2022-12-02 15:10:22 +03:00
744c2858e9 Merge pull request #578 from postgrespro/REL-2_5_PBCKP-320
[DOC] {PBCKP-320] Remove duplicate descriptions of backup/catchup mod…
2022-12-01 15:11:36 +03:00
619816012a fix ArchiveTest.test_pgpro434_4 for Pg15 2022-11-30 21:50:20 +03:00
8fa063f688 travis: and backup_test 2022-11-30 16:34:00 +03:00
7e59a19df1 [DOC] {PBCKP-320] Remove duplicate descriptions of backup/catchup modes [skip-travis] 2022-11-30 15:56:41 +03:00
3b2efe63a2 and again try fix travis tests.init_test 2022-11-30 14:58:36 +03:00
e2dd78a99e Merge branch 'REL_2_5-PBCKP-360' into REL_2_5 2022-11-29 20:17:46 +03:00
3b72dd66af fix github tests.init_test 2022-11-29 16:24:49 +03:00
0a5fc87dbd [PBCKP-360] fix exception check in test_validate_corrupt_page_header_map
zlib decompression could mark error either as "data error" or
"buffer error". One of check did consider it, other didn't.

Make them same.

And use `assertRaises` for good (requires python 3.2 at least)
2022-11-29 15:13:34 +03:00
887fb82a2c Merge branch 'master' into REL_2_5 2022-11-29 11:56:40 +03:00
15a5c5dad7 [PBCKP-354] Pg15: continue reading if error "missing contrecord" is met.
Pg15 now reports if it didn't met expected contrecord. Absence of this
message was long standing bug in previous postgres versions.

This situation could happen if WAL segment was rewritten after restart.

It causes "tests.validate.ValidateTest.test_validate_wal_unreal_values"
to hang but (looks like) for other reason: test tries to read "in future".

Probably we should stop reading logs here. But since we always did
continue here, lets continue as well.
2022-11-29 11:12:20 +03:00
be949fd91e fix memory leak in config_get_opt 2022-11-25 16:23:56 +03:00
0e1227b29f Merge branch 'REL_2_5-PBCKP-306-test-report' into 'REL_2_5'
PBCKP-306 add '_test' to test files

See merge request eepbk/pg_probackup_ee!2
2022-11-25 12:57:44 +03:00
d049466287 PBCKP-306 add '_test' to test files 2022-11-25 12:57:43 +03:00
440441dc6f ... fix names 2022-11-25 11:26:54 +03:00
1617eb34ec tests: prettify pgdata_content and compare_pgdata 2022-11-25 11:03:52 +03:00