Commit Graph
100 Commits
Author SHA1 Message Date
Grigory Smolkin 2927549456 tests: fixes for 2.3.0 2020-04-29 01:26:56 +03:00
Grigory Smolkin 04dacea1e7 various bugfixes and improvements for archiving and buffering 2020-04-29 01:24:54 +03:00
Grigory Smolkin 95825afcfe [Issue #197] setting session parameters via PGOPTIONS envvar breaks parsing of backup.control 2020-04-26 02:05:46 +03:00
Grigory Smolkin f7159f3333 tests: various fixes 2020-04-24 20:28:33 +03:00
Grigory Smolkin 5d0a3be536 improvement: ignore hidden files when taking a backup 2020-04-24 20:18:14 +03:00
Grigory Smolkin b7f8283d48 use dynamically allocated buffers in archive-push and archive-get 2020-04-24 17:37:16 +03:00
Grigory Smolkin a9aab29a04 improvement: use dynamically allocated buffers for stdio buffering 2020-04-23 22:56:56 +03:00
Grigory Smolkin 54f63319be update .gitignore 2020-04-22 23:37:13 +03:00
Grigory Smolkin e4d1db83cb tests: some fixes for ptrack 2020-04-22 23:37:08 +03:00
Grigory Smolkin 9f449016a5 minor fix 2020-04-22 20:14:41 +03:00
Grigory Smolkin f86c33a72f use relative block number when reporting corruption 2020-04-22 19:09:02 +03:00
Grigory Smolkin 29897c65e0 fix destination page for ptrack_get_block 2020-04-22 19:05:20 +03:00
Grigory Smolkin 058a3bd401 bugfix: page, received from shared buffer, should be validated 2020-04-22 18:35:19 +03:00
Grigory Smolkin bebdef6c16 tests: fixes 2020-04-22 01:17:06 +03:00
Grigory Smolkin f7313c1ade minor fix 2020-04-21 02:17:35 +03:00
gsmolandGitHub 498134fe12 Merge pull request #196 from kuzmindb/issue_181
Issue 181
2020-04-21 02:14:36 +03:00
Grigory Smolkin 726d8916e2 [Issue #192] Handle 0 offset STOP LSN on master 2020-04-21 02:09:33 +03:00
Grigory Smolkin 33472260f4 [Issue #177] treat files with '.gz.partial', '.part' and '.gz.part' siffixes as WAL segments 2020-04-20 18:56:19 +03:00
Grigory Smolkin aa27b53f9d [Issue #177] added test tests.archive.ArchiveTest.test_archive_show_partial_files_handling 2020-04-20 18:49:46 +03:00
Grigory Smolkin 295b8a1aa5 [Issue #183] If backup deletion failed to lock backup due to "out of space" condition, then treat backup as locked and carry on. 2020-04-20 14:20:58 +03:00
Grigory Smolkin 23532e8bac [Issue #183] test coverage 2020-04-20 14:11:20 +03:00
Grigory Smolkin 765bba4bfe Merge branch 'issue_146' 2020-04-19 03:15:00 +03:00
Grigory Smolkin 4e0d1dd495 [Issue #146] documentation update 2020-04-19 03:08:47 +03:00
Grigory Smolkin 90b8fe6a8c [Issue #146] help update 2020-04-19 03:08:04 +03:00
Grigory Smolkin 70143fca17 [Issue #146] tests update 2020-04-19 02:50:49 +03:00
Grigory Smolkin 2c1c19a42b [Issue #146] Refactoring 2020-04-19 02:49:35 +03:00
Grigory Smolkin 30fbea7d97 bugfix: "note" and "expire-time" backup metainformation fields must be preserved during merge 2020-04-18 22:53:05 +03:00
Grigory Smolkin 1e2491eb80 Merge branch 'master' into issue_146 2020-04-18 16:40:38 +03:00
Grigory Smolkin a425a962eb Merge branch 'issue_120' 2020-04-18 14:26:59 +03:00
Grigory Smolkin aa56f1d485 [Issue #120] update help 2020-04-18 14:20:02 +03:00
Grigory Smolkin 0b449d7e0b [Issue #120] Documentation update 2020-04-18 14:16:12 +03:00
Grigory Smolkin 4ee66be4c9 [Issue #120] minor improvements 2020-04-18 13:57:05 +03:00
Grigory Smolkin 2fdab7c387 [Issue #120] fix tests.delete.DeleteTest.test_delete_error_backups 2020-04-18 13:53:55 +03:00
Grigory Smolkin 3429ef149e Merge branch 'master' into issue_120 2020-04-17 14:10:57 +03:00
Grigory Smolkin 703d311b4b [Issue #185] archive-get refactoring: multi-threading, batching, prefetchin, retrying and handling of '.partial' files 2020-04-17 03:40:23 +03:00
Grigory Smolkin 439c27c7e7 [Issue #180] test coverage 2020-04-10 16:05:52 +03:00
Grigory Smolkin 9679cae18b tests: some more ptrack fixes 2020-04-09 12:05:55 +03:00
Grigory Smolkin b5aee7df03 tests: fixes for ptrack 2020-04-09 01:22:45 +03:00
Grigory Smolkin 96344e4be2 Readme: add reference to ptrack extension 2020-04-08 23:54:41 +03:00
gsmolandGitHub 1f45bd634d Merge pull request #194 from ololobus/travis
Travis CI integration
2020-04-07 01:35:39 +03:00
Grigory Smolkin 4d51c7f549 [Issue #143] review feedback implementation 2020-04-03 20:03:01 +03:00
Grigory Smolkin 4a94fdaa33 [Issue #143] Multi-timeline incremental chain 2020-04-03 18:08:53 +03:00
Grigory Smolkin a196073944 [Issue #174] archive-push improvements: batching, multi-thread support, checksum computation on remote agent, use O_EXCL flag, --no-sync flag support 2020-03-25 00:19:46 +03:00
Grigory Smolkin 7054d42861 [Issue #120] report the number of deleted backups 2020-03-24 21:51:14 +03:00
Grigory Smolkin 9864f5816e [Issue #120] Review 2020-03-24 21:37:35 +03:00
Grigory Smolkin d5d58f54a9 Merge branch 'master' into issue_120 2020-03-24 20:10:42 +03:00
Grigory Smolkin 943548c857 use setvbuf instead of setbuffer 2020-03-23 23:59:44 +03:00
Grigory Smolkin 0cef487f43 [Issue #187] test fix 2020-03-21 01:37:05 +03:00
Grigory Smolkin 803c607b46 [Issue #187] Do not wait for WAL segment, previous to WAL segment with START LSN, when running backup in archive mode 2020-03-20 21:40:40 +03:00
Grigory Smolkin ffdf86d248 Readme: update 2020-03-17 13:09:34 +03:00
Grigory Smolkin e124234b1d [Issue #182] test coverage 2020-03-15 19:02:35 +03:00
Grigory Smolkin 4a247e8311 [Issue #182] do not set remote parameters into config when running add-instance via ssh 2020-03-15 19:02:15 +03:00
Grigory Smolkin 925b7d588e [Issue #149] help update 2020-03-15 12:00:14 +03:00
Grigory Smolkin 3a2a56a300 [Issue #149] documentation update 2020-03-15 11:59:37 +03:00
Grigory Smolkin c50b0b16f0 [Issue #149] test coverage 2020-03-14 21:42:50 +03:00
Grigory Smolkin 48e4427f6b [Issue #149] add option -S | --primary-slot-name 2020-03-14 21:42:25 +03:00
Grigory Smolkin 2fe9ec22ed [Issue #149] Documentation update 2020-03-14 21:40:58 +03:00
Grigory Smolkin 5a715305ca Merge branch 'master' into issue_149 2020-03-14 17:53:14 +03:00
Grigory Smolkin 86fd79512a [Issue #172] Optimize remote backup in PAGE and PTRACK modes 2020-03-14 14:35:57 +03:00
Grigory Smolkin 6d0eb79323 restore: close ssh connection before exit 2020-03-14 01:50:49 +03:00
Grigory Smolkin da283d3ead tests: added tests.merge.MergeTest.test_idempotent_merge 2020-03-06 11:48:11 +03:00
Grigory Smolkin 15228f3553 [Issue #169] merge: handle the case of crash right after deletion of the target incremental backup. It should be possible to rerun merge by using the backup ID of deleted backup as an argument 2020-03-06 11:47:25 +03:00
Grigory Smolkin 7b342e3946 Merge branch 'issue_171' 2020-03-06 02:31:35 +03:00
Grigory Smolkin 1102e578d9 [Issue #169] Documentation update 2020-03-06 02:01:43 +03:00
Grigory Smolkin 9d450331f2 Merge branch 'master' into issue_169 2020-03-05 11:28:36 +03:00
Grigory Smolkin 4f1a76bcf4 [Issue #184] Don`t issue fsync when copying file by archive-get 2020-03-05 11:25:52 +03:00
Grigory Smolkin 9811acfa45 Merge branch 'master' into issue_169 2020-03-04 01:20:49 +03:00
Grigory Smolkin c3d716383a [Issue #178] enabled logging into file breaks recovery via archive-get 2020-03-03 23:42:10 +03:00
Grigory Smolkin e9c31759c5 [Issue #169] pgFileGetCRC refactoring, now it operates only locally 2020-03-03 16:57:09 +03:00
Grigory Smolkin 8110715dbf [Issue #169] review: remove slurpFileFullPath 2020-03-03 15:59:19 +03:00
Grigory Smolkin 251e46c2ab [Issue #169] improve comments in merge 2020-03-02 21:07:09 +03:00
Grigory Smolkin ac017dd8da [Issue #169] added tests for issues, pointed out by review 2020-03-02 20:05:30 +03:00
Grigory Smolkin d57bf8ef05 [Issue #169] Addressing some issues, pointed out by Anastasia Lubennikova review: setbuf, comments, tests 2020-03-02 20:04:02 +03:00
Grigory Smolkin d42e72016c [Issue #171] documentation 2020-02-23 22:51:58 +03:00
Grigory Smolkin d46e96b808 [Issue #171] test coverage 2020-02-23 22:04:14 +03:00
Grigory Smolkin 6f1ba680ab [Issue #171] minor fixes 2020-02-23 22:04:01 +03:00
Grigory Smolkin 80bcb80ada Merge branch 'issue_169' into issue_171 2020-02-22 18:29:50 +03:00
Grigory Smolkin 07620839b3 Merge branch 'master' into issue_169 2020-02-22 18:29:11 +03:00
Grigory Smolkin dbc800af14 Merge branch 'master' into issue_171 2020-02-22 18:28:23 +03:00
Grigory Smolkin c2f3968736 [Issue #175] test coverage 2020-02-22 18:17:41 +03:00
Grigory Smolkin 3d81b53242 [Issue #175] Incorrect signature for function bt_index_check() in documentation 2020-02-22 17:33:34 +03:00
Grigory Smolkin b15c7f1587 [Issue #169] test coverage 2020-02-21 22:19:52 +03:00
Grigory Smolkin ba8c4caae0 use pgBackup->root_dir when procuring filelist of previous backup 2020-02-21 22:18:49 +03:00
Grigory Smolkin 5a17d07329 merge: improve wording in elog() messages 2020-02-21 17:28:27 +03:00
Grigory Smolkin 859b40dfe1 minor spelling fix 2020-02-20 19:34:29 +03:00
Grigory Smolkin fa326c96e1 [Issue #169] minor spelling fixes 2020-02-20 18:32:14 +03:00
Grigory Smolkin 0b16fc0576 [Issue #169] fix merge of 0 sized files 2020-02-20 17:50:15 +03:00
Grigory Smolkin 2d3f19e622 [Issue #169] minor improvements 2020-02-19 20:22:12 +03:00
Grigory Smolkin 9c662d5622 [Issue #169] Major refactoring of backup, restore and merge internal algorihtms 2020-02-18 19:59:57 +03:00
Grigory Smolkin e1b0f1450f New fio command FIO_GET_CRC32 added and local behavior changed in fio_pread() 2020-02-18 19:48:35 +03:00
Grigory Smolkin 3962b02253 Allow validation of incremental backups with MERGING status 2020-02-17 20:14:42 +03:00
Grigory Smolkin d37ade9096 validation should ignore empty and not changed files 2020-02-09 21:35:21 +03:00
Grigory Smolkin 2ad2af98f1 [Issue #169] added function slurpFileFullPath() 2020-02-09 21:34:13 +03:00
Grigory Smolkin a1e005efa2 [Issue #169] Minor improvements to restore 2020-02-09 21:13:42 +03:00
Grigory Smolkin 385c16b0d2 tests: fix elog messages 2020-02-06 21:35:16 +03:00
Grigory Smolkin d6567a2d67 [Issue #169] Set stdio buffers to 64KB when running "restore" 2020-02-06 14:49:58 +03:00
Grigory Smolkin f165001c8d honest file->n_blocks for PAGE and PTRACK backups 2020-01-28 20:44:24 +03:00
Grigory Smolkin 506afe5c12 added some comments in backup_data_file() 2020-01-28 20:43:37 +03:00
Grigory Smolkin 9c3d299854 [Issue #169] check for interrupt more frequently during restore 2020-01-28 20:42:47 +03:00
Grigory Smolkin ee36dd9d29 [Issue #169] Calculate appoximate efficiency ratio when restoring backup 2020-01-27 11:41:49 +03:00