Commit Graph
100 Commits
Author SHA1 Message Date
Grigory Smolkin 53be6243f9 tests: remove debug messages in module "incr_restore" 2021-02-02 20:17:31 +03:00
Grigory Smolkin fc1bef8745 Merge branch 'master' into release_2_5 2021-01-27 16:06:26 +03:00
Grigory Smolkin 0fbf1a2fab README: update link to latest Windows installers 2021-01-27 15:55:36 +03:00
gsmolandGitHub d8503e5310 Merge pull request #306 from postgrespro/PGPRO-4063
[DOC] Remove outdated content from the documentation
2021-01-27 04:12:55 -05:00
Grigory Smolkin 25fd6c2206 fix: do not ignore ENOENT, when overwriting postgresql.auto.conf 2021-01-27 01:48:38 +03:00
Grigory Smolkin 807cc27ebe Fix overwriting of 0-sized postgresql.auto.conf in remote mode, restore nonedata files asynchronously 2021-01-27 00:23:59 +03:00
gsmolandGitHub a758d11cbb Merge pull request #305 from postgrespro/release_2_4_9
Version 2.4.9
2021-01-26 12:44:32 -05:00
Grigory Smolkin c12f8467e0 Version 2.4.9 2021-01-26 20:17:32 +03:00
gsmolandGitHub 09363f08bd Merge pull request #303 from postgrespro/PGPRO-4063
[DOC] Edits to recent document changes
2021-01-26 09:29:59 -05:00
Grigory Smolkin 2e9c55f297 [Issue #240] Handle SIGPIPE. Also when remote agent encounters an error condition during exectuion of asynchronous tasks, the error message is saved in global variable and reported when agent status is checked 2021-01-26 15:02:34 +03:00
Grigory Smolkin 88cb60fc4e DOC: minor fix 2021-01-26 03:16:06 +03:00
Grigory Smolkin c7f4865fe3 DOC: improve wording for "--force" flag 2021-01-26 02:45:12 +03:00
Grigory Smolkin 8ec995b4b4 tests: fixes for #280 2021-01-26 02:43:31 +03:00
Grigory Smolkin 4e445024f2 [Issue #280] Expand "--force" flag for incremental restore, now in case of system ID mismatch the destination PGDATA will be deleted; the content of the directory, used as destination for tablespace remapping, is now also deleted. Tablespace map is now validated before reading. 2021-01-22 15:56:14 +03:00
Grigory Smolkin b16555acd6 fix external dir path, introduced by 286d30dbff 2021-01-21 13:14:51 +03:00
Grigory Smolkin d624863d14 [Issue #290] check WAL archive directory presence at the start of backup 2021-01-20 15:55:25 +03:00
Grigory Smolkin 4edc9d94ad [Issue #289] tests: added tests.backup.BackupTest.test_issue_289 2021-01-20 15:40:18 +03:00
Grigory Smolkin e7ffc15417 [Issue #289] Wait for Start LSN after finding the suitable parent backup, not before 2021-01-20 15:39:38 +03:00
Grigory Smolkin 286d30dbff [Issue #231] make several attempts when creating backup directory, so two consecutive backups didn`t get the same backup ID 2021-01-20 15:11:54 +03:00
Grigory Smolkin 6e20f5523b Merge branch 'refs/pull/291/head' into release_2_5 2021-01-11 10:27:28 +03:00
gsmolandGitHub e2bbd4f2c3 Merge pull request #291 from kulaginm/cmdline-refactor
remove backup_subcmd global variable and useless command_name variable
2021-01-11 10:26:35 +03:00
Grigory Smolkin 7383ddd69c add some comments 2021-01-06 19:15:59 +03:00
Grigory Smolkin dceed020f0 Merge branch 'master' into release_2_5 2020-12-29 19:15:24 +03:00
Grigory Smolkin a5ec1be544 Merge branch 'master' into refs/pull/291/head 2020-12-29 19:11:14 +03:00
Grigory Smolkin 89931317e9 tests: fix backup.BackupTest.test_basic_missing_dir_permissions 2020-12-29 19:07:33 +03:00
Grigory Smolkin 00be188d5b Merge commit 'refs/pull/291/head' of https://github.com/postgrespro/pg_probackup 2020-12-29 18:37:29 +03:00
Grigory Smolkin 964d8dbbce add some comments about starting ssh client on Windows 2020-12-29 18:26:43 +03:00
Grigory Smolkin 232f94b270 DOC: note about the usage of partial restore for multi-database cluster decoupling 2020-12-11 16:00:15 +03:00
Grigory Smolkin ac2da1e817 [Issue #231] fix tests.backup.BackupTest.test_issue_231 2020-12-11 15:05:29 +03:00
Grigory Smolkin ba2a35bb34 [Issue #231] added tests.backup.BackupTest.test_issue_231 2020-12-11 14:53:42 +03:00
Grigory Smolkin d9f95db726 Version 2.4.8 2020-12-09 03:12:29 -05:00
Grigory Smolkin 0d65e055cf [Issue #284] fix segfault in local timezone handling 2020-12-09 03:10:26 -05:00
Grigory Smolkin e9ddcafdf9 [Issue #284] fix test 2020-12-09 03:07:45 -05:00
Grigory Smolkin 27310b3684 [Issue #284] added tests.time_stamp.TimeStamp.test_handling_of_TZ_env_variable 2020-12-09 10:50:49 +03:00
Grigory Smolkin 6f9e1df95d [Issue #263] fix parsing of big size values 2020-12-09 10:04:32 +03:00
Grigory Smolkin 775b260aa4 [Issue #263] added tests.set_backup.SetBackupTest.test_add_big_note_1 2020-12-09 10:03:37 +03:00
Grigory Smolkin c525dad4c7 [Issue #249] hot_standby breaks partial restore for PG < 12 2020-12-09 00:16:00 +03:00
Grigory Smolkin 33d288380e tests: minor fixes 2020-12-07 17:13:51 +03:00
Grigory Smolkin f586c96e3d Version 2.4.7 2020-12-07 09:31:31 +03:00
Grigory Smolkin 623c0d3a46 do not fsync streamed WAL segments 2020-12-07 09:23:50 +03:00
Grigory Smolkin 20dfb0130a Merge branch 'master' of https://github.com/postgrespro/pg_probackup 2020-12-07 02:36:20 +03:00
Grigory Smolkin cd2655b4e2 bugfix: correctly calculate backup WAL size for STREAM backup 2020-12-07 02:34:49 +03:00
Grigory Smolkin 8350e17430 [Issue #283] add history file to STREAM backup filelist 2020-12-07 00:48:16 +03:00
Grigory Smolkin da50370dbb [Issue #283] added tests.replica.ReplicaTest.test_replica_via_basebackup 2020-12-07 00:47:00 +03:00
Grigory Smolkin a261a83492 tests: added tests.restore.RestoreTest.test_concurrent_restore 2020-12-05 12:02:58 +03:00
Grigory Smolkin c63a2b81c7 Version 2.4.6 2020-12-04 00:27:50 +03:00
Grigory Smolkin 667f2dc7c0 use tzset on Windows 2020-12-03 14:58:52 -05:00
Grigory Smolkin 3543dae5ea fix build on Windows 2020-12-03 22:13:19 +03:00
Grigory Smolkin 9619608f92 bugfix: cross-platform setenv and getenv 2020-12-03 21:54:44 +03:00
Grigory Smolkin 84e63979cd tests: minor fixes 2020-12-03 21:31:01 +03:00
Grigory Smolkin 196d4fae38 bugfix: do not create empty recovery.conf 2020-12-03 21:30:42 +03:00
Grigory Smolkin 186fb72e1c tests: minor fixes 2020-12-03 13:15:08 +03:00
Grigory Smolkin 7ddf8ee18a tests: fixes for time_stamp module 2020-12-03 12:23:33 +03:00
Grigory Smolkin b6ce030d36 Timestamps with missing timezone offset should be treated as UTC only when parsing config(due to some old bug), otherwise as local timezone 2020-12-03 12:21:53 +03:00
Grigory Smolkin 50d2d9c3af Version 2.4.5 2020-12-02 23:47:17 +03:00
Grigory Smolkin 17b3e2b586 [Issue #272] improve test coverage 2020-12-02 23:39:26 +03:00
Grigory Smolkin dfe28b1ef8 tests: minor tweaks in merge module 2020-12-02 23:35:11 +03:00
Grigory Smolkin e645a6c2ad [Issue #266] improve test coverage 2020-12-02 23:34:28 +03:00
Grigory Smolkin e645874a64 [Issue #266] Disable in-place merge only if merge chain contains backup with version less than STORAGE_FORMAT_VERSION, which bumped each time storage format is changed or some bug in backup/restore procedures is fixed 2020-12-02 22:21:54 +03:00
Grigory Smolkin d11e3398f0 [Issue #238] in PG>=12 use postgresql.auto.conf for recovery parameters 2020-12-02 18:32:26 +03:00
Grigory Smolkin 91bcb9bdd9 [Issue #272] documentation update 2020-12-02 18:17:53 +03:00
Grigory Smolkin d3425bdc88 [Issue #272] if timezone offset is not specified, treat it as local timezone 2020-12-02 18:17:31 +03:00
Grigory Smolkin 6c21833a17 [Issue #272] fix DST time skew, store backup metadata timestamps in UTC 2020-12-02 11:15:21 +03:00
Grigory Smolkin 1cf233d3a0 [Issue #281] Non-exclusive locking mode for read-only tasks, such as restore and validate 2020-12-01 12:36:36 +03:00
Grigory Smolkin cde244e1ba tests: added tests.replica.ReplicaTest.test_start_stop_lsn_in_the_same_segno 2020-11-20 00:05:35 +03:00
Grigory Smolkin 698ea115bb 90b6d043bb review 2020-11-20 00:05:00 +03:00
Grigory Smolkin f490023694 minor fixes 2020-11-19 19:06:05 +03:00
Grigory Smolkin 90b6d043bb bugfix: fix assert error for PG13, when start_lsn and stop_lsn are in the same WAL segment, also some segfaults in wait_WAL_streaming_end 2020-11-19 19:02:55 +03:00
Grigory Smolkin 9453cf0f29 bugfix: correctly append streamed segments to backup filelist 2020-11-19 14:38:04 +03:00
Grigory Smolkin 6defc76365 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup 2020-11-19 14:36:51 +03:00
Grigory Smolkin 210c303694 tests: start restored node in test_basic_ptrack_truncate_replica 2020-11-18 15:46:03 +03:00
Grigory Smolkin 2808cc673c tests: fix test_checkdb_with_least_privileges 2020-11-14 04:11:33 +03:00
Grigory Smolkin 6611e5e8c0 [PBCKP-110] fix build error on windows 2020-11-12 20:40:44 +03:00
Grigory Smolkin 75c8a8fd0c Merge branch 'master' into release_2_5 2020-11-12 15:51:46 +03:00
Grigory Smolkin dab64c46bc Merge branch 'master' into stream_refactoring 2020-11-12 15:50:36 +03:00
Grigory Smolkin 98bb4fcc2a Merge branch 'master' into release_2_5 2020-11-12 15:45:01 +03:00
Grigory Smolkin 6123e9467c [PBCKP-107] fix build for Ubuntu 20.10 2020-11-12 13:29:23 +03:00
Grigory Smolkin 1fed5633e6 [Issue #267] use spaces for indentation 2020-11-12 12:00:48 +03:00
Grigory Smolkin 3e1d001035 [Issue #267] fix segfault and rel_path for streamed WAL segments 2020-11-12 01:03:59 +03:00
Grigory Smolkin f1b30e5870 Merge branch 'master' into release_2_5 2020-11-11 20:33:45 +03:00
Grigory Smolkin 8c0badcd93 Merge branch 'master' of https://git.postgrespro.ru/pgpro-dev/pg_probackup 2020-11-09 14:02:40 +03:00
Grigory Smolkin 038f4cf869 [Issue #274] improve test coverage 2020-11-09 13:53:38 +03:00
Grigory Smolkin caa98327b7 [Issue #274] execute atexit callbackups in correct order to avoid truncating log file 2020-11-09 13:50:56 +03:00
Grigory Smolkin 895b57f67c [Issue #274] tests: minor fix 2020-11-08 17:05:10 +03:00
Grigory Smolkin 7fa6dd2d4d [Issue #274] added tests.logging.LogTest.test_issue_274 2020-11-08 14:59:07 +03:00
Grigory Smolkin e806cf957e tests: move ptrack module to python3 2020-11-04 16:31:22 +00:00
Grigory Smolkin a5feea2435 fix 59251c3d for 9.6 and 9.5 2020-10-31 14:07:48 +03:00
Grigory Smolkin 59251c3d04 do not fsync WAL segments during streaming 2020-10-30 13:47:48 +03:00
Grigory Smolkin 288c1223e4 [Issue #270] issue VERBOSE message instead of WARNING if backup directory name does not match backup ID 2020-10-30 03:01:11 +03:00
Grigory Smolkin 3c00972bd4 tests: move to python3 2020-10-30 02:47:06 +03:00
Grigory Smolkin 842e6ce069 fix race condition in atexit callbacks for connection canceling 2020-10-30 02:38:39 +03:00
Grigory Smolkin b4933f6c36 reset errno after pg_logging_init 2020-10-30 02:33:45 +03:00
Grigory Smolkin e8def1d344 check for interrupt when running show 2020-10-30 02:33:21 +03:00
Grigory Smolkin 3df428871d [Issue #271] minor fix 2020-10-29 11:05:07 +03:00
Grigory Smolkin e96d84caa6 add .vscode directory to .gitignore 2020-10-28 23:10:45 +03:00
Grigory Smolkin 585f1ab5d3 [Issue #271] when updating backup status overwrite control file only if status has changed 2020-10-28 23:07:52 +03:00
Grigory Smolkin 98372aa8c4 tests: honor the paranoia flag in tests.ptrack.PtrackTest.test_basic_ptrack_truncate_replica 2020-10-27 21:10:04 +03:00
Grigory Smolkin 6a28319875 tests: rename test_ptrack_truncate_replica to test_basic_ptrack_truncate_replica 2020-10-22 21:37:34 +03:00
Grigory Smolkin a1f576752d tests: kludge for testgres, which currently does not support PG13 2020-10-19 18:57:48 +03:00
Grigory Smolkin 5fb52348a7 fix checkdb integer overflow 2020-09-29 13:29:36 +03:00