Commit Graph
3819 Commits
Author SHA1 Message Date
Elena Indrupskaya 7e59a19df1 [DOC] {PBCKP-320] Remove duplicate descriptions of backup/catchup modes [skip-travis] 2022-11-30 15:56:41 +03:00
Yura Sokolov 154a7cb939 Merge branch 'REL_2_6-PBCKP-279' into REL_2_6 2022-11-30 14:59:19 +03:00
Yura Sokolov c7d88f978e Merge branch 'REL_2_5' into REL_2_6 2022-11-30 14:59:03 +03:00
Yura Sokolov 3b2efe63a2 and again try fix travis tests.init_test 2022-11-30 14:58:36 +03:00
Yura Sokolov aa59169db1 Merge branch 'REL_2_5' into REL_2_6 2022-11-30 08:08:35 +03:00
Yura Sokolov 6a684d89b5 ... 2022-11-30 08:07:44 +03:00
Yura Sokolov 1cd1355361 configuration.c: rework parse_pair and config_read_opt 2022-11-30 08:07:31 +03:00
Yura Sokolov b92d814ae9 Merge branch 'REL_2_6-PBCKP-337' into REL_2_6 2022-11-30 05:15:27 +03:00
Yura Sokolov e2dd78a99e Merge branch 'REL_2_5-PBCKP-360' into REL_2_5 2022-11-29 20:17:46 +03:00
Victor SpirinandYura Sokolov a21b4c0486 [PBCKP-279] Removed basebackup sources dependency. 2022-11-29 16:46:46 +03:00
Yura Sokolov dee680e6b6 Merge branch 'REL_2_5' into REL_2_6 2022-11-29 16:37:12 +03:00
Victor Spirin 1dc4033476 Added include catalog/catalog.h to file.c for PG10 2022-11-29 16:36:35 +03:00
Yura Sokolov 3b72dd66af fix github tests.init_test 2022-11-29 16:24:49 +03:00
Sergey Fukanchik f12ff418d7 PBCKP-337 switch to pio in config_read_opt 2022-11-29 15:21:04 +03:00
Yura Sokolov 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
Yura Sokolov b5283d1273 [PBCKP-368] use pioWriteFile for write_database_map 2022-11-29 13:00:48 +03:00
Yura Sokolov 83200596bb [PBCKP-368] use pioWriteFile to write control file. 2022-11-29 13:00:48 +03:00
Yura Sokolov 824b7d86b1 [PBCKP-368] use pioWriteFile in catalog.c 2022-11-29 13:00:48 +03:00
Yura Sokolov 9a92900208 [PBCKP-368] - pioClose sync 2022-11-29 13:00:48 +03:00
Yura Sokolov 4b50e5db0b pioReadFile - do not add zero byte to text file output.
it produces more problems, than solves.
2022-11-29 13:00:48 +03:00
Yura Sokolov 0833965e3a [PBCKP-368] use pioReadFile and pioWriteFile in update_recovery_options 2022-11-29 13:00:48 +03:00
Yura Sokolov 1e954a396b [PBCKP-368] pg_stop_backup_write_file_helper to use pioWriteFile 2022-11-29 13:00:48 +03:00
Yura Sokolov 646fe9e083 [PBCKP-368] make pgFileNew accept drive instead of location 2022-11-29 13:00:48 +03:00
Yura Sokolov 8b1111fca5 [PBCKP-368] move dire_list_file to file.c
just refactoring because dir_list_file is not used in other places anymore.
2022-11-29 13:00:48 +03:00
Yura Sokolov dee76b45ec [PBCKP-368] add pioWriteFile for writting small files 2022-11-29 13:00:48 +03:00
Yura Sokolov a8f49e2d9d Merge branch 'REL_2_5' into REL_2_6 2022-11-29 11:57:05 +03:00
Yura Sokolov 887fb82a2c Merge branch 'master' into REL_2_5 2022-11-29 11:56:40 +03:00
Yura Sokolov 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
Yura Sokolov 981a59476b Merge remote-tracking branch 'origin/REL_2_6' into REL_2_6 2022-11-29 10:21:50 +03:00
d.lepikhova 40199b60c4 Merge branch 'PBCKP-356' into REL_2_6 2022-11-29 12:18:29 +05:00
d.lepikhova 33a573d821 [PBCKP-356]: Rewriting write_backup and pgBackupWriteControl with pio.
Change type of pgBackupWriteControl function to ft_str_t
2022-11-29 12:10:17 +05:00
Elena Indrupskaya b9a2a82a57 [DOC] [PGPRO-7104] Remove outdated options and PostgreSQL versions from documentation [skip travis] 2022-11-28 15:52:13 +03:00
Yura Sokolov 0a0f9462b5 Merge branch 'REL_2_6_PBCKP-341' into REL_2_6 2022-11-28 10:13:47 +03:00
Yura Sokolov 4c923c2f15 Merge branch 'REL_2_5' into REL_2_6 2022-11-25 16:31:14 +03:00
Yura Sokolov be949fd91e fix memory leak in config_get_opt 2022-11-25 16:23:56 +03:00
Yura Sokolov 681ca5e5ec fix :-( 2022-11-25 14:02:47 +03:00
v.shepard cfd1a72927 Merge branch 'REL_2_5' into REL_2_6 2022-11-25 11:58:16 +01:00
Viktoria Shepard 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
Viktoria Shepard d049466287 PBCKP-306 add '_test' to test files 2022-11-25 12:57:43 +03:00
Yura Sokolov de571722d6 temporary comment out ft_memzero to not warn Valgrind 2022-11-25 12:55:23 +03:00
s.fukanchik 7e4930c90d Merge branch 'REL_2_6-PBCKP-361' into 'REL_2_6'
PBCKP-361 add 'noreturn' logging function

See merge request eepbk/pg_probackup_ee!3
2022-11-25 12:39:00 +03:00
s.fukanchik 8ef02743f5 PBCKP-361 add 'noreturn' logging function 2022-11-25 12:38:59 +03:00
Yura Sokolov 440441dc6f ... fix names 2022-11-25 11:26:54 +03:00
Yura Sokolov abf10d7f4d Merge branch 'REL_2_5' into REL_2_6 2022-11-25 11:15:18 +03:00
Yura Sokolov 1617eb34ec tests: prettify pgdata_content and compare_pgdata 2022-11-25 11:03:52 +03:00
Yura Sokolov 20667e9594 tests: better directory collection in pgdata_content
There is no need to walk pgdata twice.
We could delete parent directories instead of skipping them.
2022-11-25 08:31:00 +03:00
Yura Sokolov dea1b4f8f8 Merge branch 'REL_2_5' into REL_2_6 2022-11-25 08:11:37 +03:00
Yura Sokolov 19a7c5b01f tests: do not read whole file at once for digest. Iterate instead. 2022-11-25 07:59:14 +03:00
Yura Sokolov 7eab6e3463 [PBCKP-358] sort directories to not skip 'base/1' because of 'base/12699'
Looks like os.walk may yield dirs unsorted.
This way "check if directory already here as part of larger directory"
man mistakenly skip short 'base/1' as "part of" 'base/12699'
2022-11-25 07:58:08 +03:00
Yura Sokolov f281022f91 Merge branch 'REL_2_5' into REL_2_6 2022-11-25 06:42:29 +03:00