1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/lib/pgBackRest
David Steele 76161bd845 v1.18: Stanza Upgrade, Refactoring, and Locking Improvements
Bug Fixes:

* Fixed an issue where read-only operations that used local worker processes (i.e. restore) were creating write locks that could interfere with parallel archive-push. (Reported by Jens Wilke.)

Features:

* Added the stanza-upgrade command to provide a mechanism for upgrading a stanza after upgrading to a new major version of PostgreSQL. (Contributed by Cynthia Shang.)
* Added validation of pgbackrest.conf to display warnings if options are not valid or are not in the correct section. (Contributed by Cynthia Shang.)

Refactoring:

* Simplify locking scheme. Now, only the master process will hold write locks (for archive-push and backup commands) and not all local and remote worker processes as before.
* Refactor Ini.pm to facilitate testing.
* Do not set timestamps of files in the backup directories to match timestamps in the cluster directory. This was originally done to enable backup resume, but that process is now implemented with checksums.
* Improved error message when the restore command detects the presence of postmaster.pid. (Suggested by Yogesh Sharma.)
* Renumber return codes between 25 and 125 to avoid PostgreSQL interpreting some as fatal signal exceptions. (Suggested by Yogesh Sharma.)
* The backup and restore commands no longer copy via temp files. In both cases the files are checksummed on resume so there's no danger of partial copies.
* Allow functions to accept optional parameters as a hash.
* Refactor File->list() and fileList() to accept optional parameters.
* Refactor backupLabel() and add unit tests.
* Silence some perl critic warnings. (Contributed by Cynthia Shang.)
2017-04-12 19:17:39 -04:00
..
Archive Improvements to Ini.pm. 2017-04-10 13:24:45 -04:00
Check Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
Common Renumber return codes between 25 and 125 to avoid PostgreSQL interpreting some as fatal signal exceptions. 2017-04-12 12:41:34 -04:00
Config Renumber return codes between 25 and 125 to avoid PostgreSQL interpreting some as fatal signal exceptions. 2017-04-12 12:41:34 -04:00
Protocol Renumber return codes between 25 and 125 to avoid PostgreSQL interpreting some as fatal signal exceptions. 2017-04-12 12:41:34 -04:00
Backup.pm Do not set timestamps of files in the backup directories to match timestamps in the cluster directory. 2017-04-12 09:22:51 -04:00
BackupCommon.pm Refactor backupLabel() and add unit tests. 2017-04-05 10:16:16 -04:00
BackupFile.pm Do not set timestamps of files in the backup directories to match timestamps in the cluster directory. 2017-04-12 09:22:51 -04:00
BackupInfo.pm Improvements to Ini.pm. 2017-04-10 13:24:45 -04:00
Db.pm Added warning to update pg_tablespace.spclocation when remapping tablespaces in PostgreSQL < 9.2. 2017-01-22 19:29:56 -05:00
DbVersion.pm Improved, multi-process implementation of asynchronous archiving. 2017-01-27 11:02:27 -05:00
Expire.pm Improvements and additional tests for stanza-upgrade. 2017-04-06 19:36:37 -04:00
File.pm Backup and restore commands no longer copy via temp files. 2017-04-12 09:05:57 -04:00
FileCommon.pm Backup and restore commands no longer copy via temp files. 2017-04-12 09:05:57 -04:00
Info.pm Silence some perl critic warnings. 2017-04-10 17:23:39 -04:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
Manifest.pm Improvements to Ini.pm. 2017-04-10 13:24:45 -04:00
Restore.pm Improved error message when the restore command detects the presence of postmaster.pid. 2017-04-12 09:53:07 -04:00
RestoreFile.pm Backup and restore commands no longer copy via temp files. 2017-04-12 09:05:57 -04:00
Stanza.pm Improvements to Ini.pm. 2017-04-10 13:24:45 -04:00
Version.pm v1.18: Stanza Upgrade, Refactoring, and Locking Improvements 2017-04-12 19:17:39 -04:00