1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-13 11:53:59 +02:00
Commit Graph

2949 Commits

Author SHA1 Message Date
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
anastasia
bd29752456 Fix test test_basic_ptrack_truncate_replica. Pause replication before taking backup to make datadir comparison more stable. 2020-11-20 13:42:55 +03:00
Andrew A. Bille
10bd31097f tests: stop "node" before deletion test dir 2020-11-20 12:24:39 +07: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
Andrew A. Bille
cbb721427d tests: ignore ptrack.map.tmp in pgdata_content 2020-11-16 15:15:05 +07: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
dab64c46bc Merge branch 'master' into stream_refactoring 2020-11-12 15:50:36 +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
anastasia
1d3c333641 Refactor code related to WAL streaming. Optimize filelist gathering for streamed xlog files.
Now streaming thread calculates CRC and adds file info to the filelist after each finished segment.
2020-11-11 23:10:44 +03:00
anastasia
dad2747ddc Refactor code related to WAL streaming. Move it to stream.c 2020-11-11 22:19:09 +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
Andrew A. Bille
104600f5c2 tests: another fix ptrack module to python3 2020-11-09 16:18:32 +07: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
Andrew A. Bille
c796ab2c42 tests: fix errors for python3 in ptrack_helpers 2020-11-02 14:07:12 +07: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
Andrew A. Bille
6ecfa8e15f Disable autovacuum for correct checksum comparing 2020-10-23 17:19:28 +07:00
Grigory Smolkin
6a28319875 tests: rename test_ptrack_truncate_replica to test_basic_ptrack_truncate_replica 2020-10-22 21:37:34 +03:00